-1

I have an Android project whose use CouchBase lite 1.4 with CouchDB .We want to use the last CouchBase lite version but I have been reading this in the documentation about CouchBase Lite 2.0 :

The new protocol is incompatible with CouchDB-based databases. And since Couchbase Lite 2 only supports the new protocol, you will need to run a version of Sync Gateway that supports it.

So I guess I have to migrate to Sync Gateway ?¿ as I can read here:

Couchbase Lite 2.0's enhanced replication protocol is not compatible with CouchDB. The Sync Gateway 2.0 however will supporting both Couchbase Lite 2.0 mobile clients with the new protocol and the CouchDB enabled replication protocol.

My problem is that I have not clear what is Sync GatAway,becouse in some places you can read that works with CouchDB in other place I can read that does not work.

JoCuTo
  • 2,463
  • 4
  • 28
  • 44
  • "How can I run a version of Sync Gateway?" Have you consulted the documentation? – borrrden Jul 02 '18 at 21:14
  • 2
    of course, quite confusing by the way – JoCuTo Jul 03 '18 at 06:39
  • I was a bit confused by this: "...info about how to change from couchBase lite to Sync Gateway" I think you mean "change from CouchDB to Sync Gateway"? – Matthew Groves Jul 03 '18 at 18:17
  • thanks ....thanks a lot ...thank you so much – JoCuTo Jul 04 '18 at 07:34
  • thanks ....thanks a lot ...thank you so much – JoCuTo Jul 04 '18 at 07:47
  • there are a lot of people confused about it https://forums.couchbase.com/t/cbl-2-0-couchdb-server-syn-gateway/13362 – Jose Cuervas Jul 04 '18 at 09:18
  • in the order hand you can read this : https://github.com/couchbase/sync_gateway/issues/312 – JoCuTo Jul 04 '18 at 09:20
  • @chintan-mishra That is correct. Couchbase Lite 2.0's enhanced replication protocol is not compatible with CouchDB . The Sync Gateway 2.0 however will supporting both Couchbase Lite 2.0 mobile clients with the new protocol and the CouchDB enabled replication protocol. However, the suggestion to keep large attachments in a separate store and store the URL in the document is still a viable option. – JoCuTo Jul 04 '18 at 09:44

1 Answers1

0

You can use Cloudant Sync for Android as an alternative. It is compatible with your CouchDB installation or with IBM's Cloudant NoSQL service.

We are using this library in some mobile projects based on Android.

Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189
Juanjo Rodriguez
  • 2,103
  • 8
  • 19