Reputation: 15
How do you reliably check that a filtered pull replication has completed successfully with Couchbase Lite?
Upvotes: 1
Views: 567
Reputation: 1148
The replication object also as a lastError property. The guide says that if it is set to nil, then there has not been an error since the replication started. I would check that when you see the replication status go to stopped.
http://docs.couchbase.com/couchbase-lite/cbl-ios/#working-with-replications
Upvotes: 1