Couchbase Lite - Replicator - handling Offline state

Hi Team,

Currently I’m using CBLite 2.5.0. And the Sync Gateway has been upgraded to the version 2.7.
Once the application launches the replicator establishes the connection to the replicator , once after that it immediately goes to OFFLINE state. To make the replicator active, what should we need to do when it goes OFFLINE.

Thanks

If the replicator goes offline, there is, most likely, some kind of connectivity problem. You can get a hint about the problem from the error message passed to a StateChangeListener, attached to the replicator.

The logs might also contains a clue.