we are investigating Couchbase for a new project. We are currently using version 1.4 on iOS.
Currently there are there questions:
1.) Is there a way to get the current connection status?
2.) Is there a way to get the status of the sync?
3.) How can I get all not synced documents?
Thanks for your help,
In 1.4, you can register for
kCBLReplicationChangeNotification notification and get the status of replication from
You can use
pendingDocumentIDs to get list of documents that have not yet been pushed up.
Docs at https://developer.couchbase.com/documentation/mobile/1.4/references/couchbase-lite/couchbase-lite/replication/replication/index.html give you the details.