Can Couchbase Lite 2.0 sync with CouchDB without Sync Gateway


Are there plans to stop support for replicating Couchbase Lite data with CouchDB?

We have mobile apps both on iOS and Android which rely on Couchbase Lite 1.3. We are planning to upgrade to Couchbae Lite 2.0. But latest release mentions that the version is not compatible with CouchDB.

What course of action is suggested to migrate to 2.0 while keeping the replication with CouchDB? Or we should start using Couchbase.


You should start using Couchbase (or alternatively you could start a community effort to write a sync layer to contribute back to the open source project). CouchDB is not a Couchbase product and our protocol has been enhanced in ways that are no longer compatible.


@borrrden can you guide me to the right resources to develop drivers for Couchbase


You can use Couchbase Sync Gateway 2.0 (w/ Couchbase server backing store) with PouchDB enabled web clients and Couchbase Lite 2.0 enabled mobile clients. Sync Gateway 2.0 supports both 2.0 version of replication protocol (that couchbase lite 2.0 clients use) as well as the older CouchDB compatible protocol.

But as Jim pointed out , you cannot use Couchbase Lite 2.0 mobile clients with Couch DB because the new protocol is incompatible.