In depth learning on App Configs can be found in this course in Motive Academy. |
Example format for AppConfig.json. Note that multiple cluster configurations can be defined in one file, however the current implementation of the SDK only recognizes the first cluster definition.
{ "clusters": [ { "localizedTitle":{ "localizations":[ { "cultureCode":"en", "text":"Motive Preview Server" } ] }, "motiveCloudConfig": { "url": "https://preview.motivecloud.dev" } } ] } |
{ "clusters":[ { "localizedTitle":{ "localizations":[ { "cultureCode":"en", "text":"Motive Launch Server - US" } ] }, "identityServerConfig":{ "url":"https://id.storyflow.dev" }, "launchServerConfig":{ "url":"https://ls-us.storyflow.dev", "clientId": "abcdefg", "clientSecret": "a big secret" }, "storyflowAppConfig":{ "url":"https://app.storyflow.dev" }, "storyflowApiConfig":{ "url":"https://api.storyflow.dev" } } ] } |