The iOS app I am building creates a Couchbase Lite database the first time it starts and populates this new database by syncing with a remote Couchbase Server. Upon this initial sync a map is displayed and the sync'd data is displayed on the map.
If the phone experiences networking problems and the sync is interrupted and takes sometime to complete, there is the possibility that not all data pertaining to the portion of the map being displayed will have synced to the phone. How should I manage such a situation? Should I simply refresh the display once the initial sync completes? Should I refresh the map every 30 seconds for example, if the sync has progressed (in which case there maybe new data to display)? PS - I have looked at the code of the demo grocery app. Currently my app determines the sync is complete when pull.completedChangesCount = pull.changesCount. Thanks -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/8f46888a-3ca0-4a8f-9f17-7d92d0f97309%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
