Configuring time-outs for synchronization indicators
Keep users informed about mobile app synchronization in an efficient way by controlling synchronization indicators. For example, you can determine how long the app displays the Successfully synced message.
Pega Platform provides four types of native indicators:
- Offline
- The app does not have network access. The Offline indicator disappears only after the app regains network connectivity and starts receiving responses from the server.
- Syncing
- The app is synchronizing data after reestablishing network connectivity or after a period of low-speed connectivity. You can configure the amount of time that elapses before the app displays the indicator.
- Sync failed. Retry?
- Data synchronization failed due to an error unrelated to the network. Users can try to synchronize again by tapping the indicator.
- Successfully synced
- All data and status changes are synchronized with the server. The indicator appears only after the app displays the Syncing indicator. You can configure for how long you want to display the indicator.
- In the navigation pane of Dev Studio, click Records.
- Expand the SysAdmin category, and then click Dynamic System Settings.
- Configure one or both of the synchronization indicators:
Choices Actions Configure the amount of time that elapses before the Syncing indicator appears - In the Setting Purpose column, click
offline/ui/deferOngoingSyncNotificationBy.The owning ruleset of the offline/ui/deferOngoingSyncNotificationBy dynamic system setting is Pega-UIEngine.
- In the Edit Dynamic System settings
window, in the Value field, enter the
amount of time in milliseconds.The default value is 4000.
- Click Save.
Configure the amount of time that elapses before the Successfully synced indicator disappears - In the Setting Purpose column, click offline/ui/hideSuccessfulSyncNotificationAfter
- In the Edit Dynamic System settings
window, in the Value field, enter the
amount of time in milliseconds.The default value is 5000.
- Click Save.
- In the Setting Purpose column, click
offline/ui/deferOngoingSyncNotificationBy.
Previous topic Customizing synchronization indicators Next topic Offline case packaging optimization during synchronization