I am starting a pull replication on app launch and I put up a progress 
indicator to show progress. I hide the progress indicator in my observer 
(observeValueForKeyPath:ofObject:change:context:). The first time I launch 
all goes well. The progress indicator hides when the last change comes in. 
However, when I launch a second time, I get no callbacks on the observer. I 
expect this is because there are no changes on the server so the pull does 
nothing. So the progress indicator never goes away. Is there a way to 
compare the lastSequence on the remote server with the lastSequence on the 
client app so that I can know whether or not to pull? Or is there a better 
way to know when the pull has completed, even if it did nothing due to no 
changes on the remote 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/2c33551f-d587-47cb-b013-fe68ddc44b50%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to