Data Synchronization Priority
The JourneyApps Container has fixed logic that determines when it connects to the JourneyApps Backend to download updates, upload and download app data and attachments. This document explains this logic.
Firstly, under normal operation, the container will synchronize data with the following priorities:
Attachments are downloaded on demand when using a
display-filecomponent, and do not form part of the standard data synchronization queue listed above.
Data synchronization can be triggered in the following ways:
- 1.On app start-up
- 2.The user clicks on the Sync button in the container.
- 3.Data is changed in the app. This skips the app update check.
- 4.If data has not been synchronized in the last 60 seconds, the container will trigger a sync on a view transition.
Data can be synced in the background but limitations may apply on some platforms. It's best to keep the app open when you are uploading large amounts of data (for example attachments) through the app.
On the JourneyApps Container for Windows, the container also checks for updates to the container itself. This is prioritized above application updates.