mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 09:32:41 +00:00
feat: improve cross-uni app workflow
This commit is contained in:
67
frontend/app/config/config.schema.json
Normal file
67
frontend/app/config/config.schema.json
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "App Config",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"$schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"appName": {
|
||||
"type": "string",
|
||||
"description": "Full app name",
|
||||
"examples": ["Open StApps"]
|
||||
},
|
||||
"appDisplayName": {
|
||||
"type": "string",
|
||||
"description": "App name on mobile device homescreen (Not much space)",
|
||||
"examples": ["StApps"]
|
||||
},
|
||||
"backendUrl": {
|
||||
"type": "string",
|
||||
"description": "Publicly available backend url",
|
||||
"examples": ["https://your.backend.server.tld"]
|
||||
},
|
||||
"backendVersion": {
|
||||
"type": "string",
|
||||
"description": "Minimum backend version the app will request",
|
||||
"examples": ["3.0.0"]
|
||||
},
|
||||
"appLinkHost": {
|
||||
"type": "string",
|
||||
"description": "Your host used for universal (deep) links",
|
||||
"examples": ["your.deep.link.host.tdl"]
|
||||
},
|
||||
"appUrlScheme": {
|
||||
"type": "string",
|
||||
"description": "Custom url scheme for native app versions",
|
||||
"examples": ["de.anyschool.app"]
|
||||
},
|
||||
"appMarketingVersion": {
|
||||
"type": "string",
|
||||
"description": "App marketing version used in Stores (preferably SemVer or CalVer)",
|
||||
"examples": ["1.0.0"]
|
||||
},
|
||||
"android": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"packageName": {
|
||||
"type": "string",
|
||||
"description": "Android package name",
|
||||
"examples": ["de.anyschool.app"]
|
||||
}
|
||||
},
|
||||
"required": ["packageName"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"$schema",
|
||||
"appName",
|
||||
"appDisplayName",
|
||||
"backendUrl",
|
||||
"backendVersion",
|
||||
"appLinkHost",
|
||||
"appUrlScheme",
|
||||
"appMarketingVersion",
|
||||
"android"
|
||||
]
|
||||
}
|
||||
13
frontend/app/config/default.json
Normal file
13
frontend/app/config/default.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "./config.schema.json",
|
||||
"appName": "Open StApps",
|
||||
"appDisplayName": "StApps",
|
||||
"backendUrl": "http://localhost:3000",
|
||||
"backendVersion": "3.0.0",
|
||||
"appLinkHost": "localhost:3000",
|
||||
"appUrlScheme": "de.anyschool.app",
|
||||
"appMarketingVersion": "1.0.0",
|
||||
"android": {
|
||||
"packageName": "de.anyschool.app"
|
||||
}
|
||||
}
|
||||
13
frontend/app/config/f-u/default.json
Normal file
13
frontend/app/config/f-u/default.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "../config.schema.json",
|
||||
"appName": "Uni Frankfurt",
|
||||
"appDisplayName": "Uni Frankfurt",
|
||||
"backendUrl": "https://mobile.server.uni-frankfurt.de",
|
||||
"backendVersion": "3.1.0",
|
||||
"appLinkHost": "mobile.app.uni-frankfurt.de",
|
||||
"appUrlScheme": "de.unifrankfurt.app",
|
||||
"appMarketingVersion": "2.3.0",
|
||||
"android": {
|
||||
"packageName": "de.unifrankfurt.app"
|
||||
}
|
||||
}
|
||||
BIN
frontend/app/config/f-u/favicon.png
Normal file
BIN
frontend/app/config/f-u/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
BIN
frontend/app/config/f-u/logo.png
Normal file
BIN
frontend/app/config/f-u/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.3 KiB |
Reference in New Issue
Block a user