I’ve just had the same issue reported on another customer device … iOS … the user uses the app which creates a document storing data for the work they are doing, the document i supdated locally as they carry out their work and the changes sync perfectly for a while … the user locks the phone and comes back to the app an hour later … they complete the work which means more changes to the local document but these changes no longer sync to the gateway.
I am using the cordova 1.4.1 plugin. The sync gateway has been upgraded to 2.0.0 and the database is still at 5.0.1.
I’ve spent nearly a year slowly building a dashboard and the mobile app functionality, I moved to couchbase from couchdb as the sync_gateway looked like a great solution. My product is being evaluated by a couple of big customers, and unreliable sync will kill it off and render my efforts as having been totally futile.
Any help will be gratefully received.