user1997829
user1997829

Reputation: 15

Status of a filtered pull replication with Couchbase Lite

How do you reliably check that a filtered pull replication has completed successfully with Couchbase Lite?

Upvotes: 1

Views: 567

Answers (1)

Matt Jennings
Matt Jennings

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

Related Questions