How the app updates data? Mechanics of data update in mobile application.
Application checks for updates with a timestamp parameter.
checkUpdates call returns list of IDs.
App will display appropriate dialog and after clicking on “OK” app will simply close.
For more details see class
In this case check for updates call will not be performed, but because of timestamp is already saved, that mean that application already has data saved into database, so application will work in offline mode.
While user close and restore app from background, activity on which user stopped app will perform check for updates request and if there will be some updates, they will be saved into database. As soon as all requests will be finished,
DCMainProxy.h will notify each registered on update observer activity to load new data from database.