Yeah, as Jens mentioned, you will want to subscribe to change events on the replicator.
Take a look at this code: https://github.com/couchbase/couchbase-lite-android/blob/master/src/instrumentTest/java/com/couchbase/lite/LiteTestCase.java#L387-L416 and https://github.com/couchbase/couchbase-lite-android/blob/master/src/instrumentTest/java/com/couchbase/lite/LiteTestCase.java#L454-L503 On Thu, Apr 3, 2014 at 11:45 PM, Pankaj Jakhar <[email protected]>wrote: > 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. SO I need to know when the syncing of its pull and push replication > is completed. > > How can I achieve this? > > -- > 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/ae308cfb-2e42-4865-9ff3-ca90844a9ecf%40googlegroups.com<https://groups.google.com/d/msgid/mobile-couchbase/ae308cfb-2e42-4865-9ff3-ca90844a9ecf%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CACSSHCEze7O-y_z_bZ7wTYO5_GpfkdyeHFHDELffV6DY2jpxMA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
