I use Couchbase Lite to replicate data in a P2P network on Android platform. Sometimes the remote peer may be offline, when I try to pull/push data with remote offline peer, I wanna know that it is offline and I can do something to handle this exception. I thought replication.start() will throw this kind of exception, but it does not, so how can I catch this exception?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to handle lost network connection to sync gateway? | 12 | 5002 | May 6, 2017 | |
| Do CBLite replications give up reconnection attempts when offline? | 9 | 1178 | June 15, 2018 | |
| Couchbase Lite replicator errors when offline | 1 | 1004 | November 23, 2017 | |
| [cblite 2.8.4] [Android] Replicator Stop after SocketTimeout | 2 | 1368 | October 16, 2021 | |
| Replication does not continue when back online | 9 | 1341 | January 30, 2019 |