By calling sync method you will get response object as mentioned in below tables, using this reference properties user can customize UI for app updates and maintenance.
Properties
| properties | default | type | Description |
|---|
| appName | "" | string | Application name |
| appLogo | "" | string | Application logo |
| id | "" | string | Application id |
| isMaintenance | false | boolean | If true, show maintenance dialog using below maintenance properties |
| updatedAt | "" | String | Timestamp when the response was last updated. |
Maintenance Properties
| properties | default | type | Description |
|---|
| title | "" | string | Show as title |
| image | "" | string | Show image url |
| description | "" | string | Show as description |
| textColorCode | "" | string | Color code for text color |
| backgroundColorCode | "" | string | Color code for background color |
| isMaintenance | false | boolean | Indicate whether maintenance is enabled or not. |
Update Properties
| properties | default | type | Description |
|---|
| isUpdateEnabled | false | boolean | If true, Show Update dialog |
| minBuildVersion | "" | string | Build version code |
| buildNumber | "" | string | Build number |
| updateLink | "" | string | It will redirect to particular url |
| isForcedUpdate | false | boolean | If true, show force-fully update dialog |