setCustomStart
Overwrites the start configuration for the app. The app will use the provided configuration during the next launch.
Field Configurations
Key | Type | Description | Default Value |
---|---|---|---|
"params" (required) | Object | The parameters for the action | null |
Parameters
Key | Type | Description | Default Value |
---|---|---|---|
"async" | Boolean | Specifies whether the action should perform asynchronously. | null |
"baseUrl" | String | The base URL which the app should use to fetch the config | null |
"secret" | String | The secret to use for the new base URL. | null |
"startConfig" | String | The start config. | "default" |
"startConfigParams" | Object | The start config parameters | null |
"switchToCustomStart" | Boolean | The app would restart if the value is true . | null |
Inherited
From Base Action
Base Action
Field Configurations
Key | Type | Description | Default Value |
---|---|---|---|
"dynamicParams" | Object | Dynamic params to retrieve data from a specific context e.g. a userSetting. | null |
"leadingDelimiter" | String | The leading mustache delimiter to use. | null |
"params" | Object,Array | Object containing the properties of the action. | null |
"trailingDelimiter" | String | The trailing mustache delimiter to use. | null |
"type" | String | Type name of the action. | null |
Examples
Example 1: setCustomStart
Goal: Change the baseurl, startConfig and restart the app with provided value.
{
"type": "setCustomStart",
"params": {
"baseUrl": "https://test.update.de/v1",
"startConfig": "startView",
"switchToCustomStart": true
}
}