Trace: • Application configuration
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 
                    flutterui:app_config [2023/03/08 10:54] admin  | 
                
                    flutterui:app_config [2023/04/17 06:30] (current) admin  | 
            ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~Title: Application configuration~~ | ~~Title: Application configuration~~ | ||
| ~~NOTRANS~~ | ~~NOTRANS~~ | ||
| + | The configuration file is located in ''assets/config/app.conf.json'', e.g. | ||
| + | |||
| + | <file json> | ||
| + | { | ||
| + | "title": "JVx Mobile Demo", | ||
| + | "privacyPolicy": "https://my.dom.ain/privacy-policy/", | ||
| + | ... | ||
| + | } | ||
| + | </file> | ||
| + | |||
| + | === Parameters === | ||
| ''title'' (string) | ''title'' (string) | ||
| Line 49: | Line 60: | ||
| The "Manage single application" switch is hidden when either customAppsAllowed is ''false'' or forceSingleAppMode is ''true''. | The "Manage single application" switch is hidden when either customAppsAllowed is ''false'' or forceSingleAppMode is ''true''. | ||
| + | |||
| + | ''serverConfigs'' (array) | ||
| + | |||
| + | Every record defines a pre-defined application e.g. | ||
| + | |||
| + | <file json> | ||
| + | { | ||
| + | "title": "Title" | ||
| + | "baseUrl": "http://localhost/dri17/services/mobile", | ||
| + | "appName": "protocol", | ||
| + | "username": "preview", | ||
| + | "password": null, | ||
| + | "icon": "https://upload.wikimedia.org/wikipedia/commons/a/a6/Jvx_2020.png", | ||
| + | "locked": false, | ||
| + | "parametersHidden": false | ||
| + | "default": true | ||
| + | } | ||
| + | </file> | ||
