How can I know if the replication process has ended on Couchbaslite Android application?
I want to allow login in my app only after it has synced all the data with server.
--
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 mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/ae308cfb-2e42-4865-9ff3-ca90844a9ecf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have already implemented a replication change listener interface which lets me know about the status of replication. But the problem is that before replication is completed 100%, I get Replication IDLE status 2-3 while replication is going on. The status is ACTIVE 98% times but 2-3 times in between this replication, the status becomes IDLE and then ACTIVE again and after 100% completion it is always IDLE.So this IDLE status before 100% completion is what is creating problem in my logic. If I rely on status IDLE then still 100% is left.