Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I replicate between CouchBase on Android and Couch DB running on Linux?

Can I replicate a CouchBase datbase running on Android to a CouchDB (1.1) server ? I want to try out couchbase on Android and have installed a Couch DB on Amazon EC2.

like image 219
Glenn Bech Avatar asked Jun 21 '11 10:06

Glenn Bech


1 Answers

Yes you can, but the earlier versions of CouchDB for Android do not support CommonJS. This may have been fixed by now, I haven't tested it in a few months.

So, if your map/reduce/list/show functions use CommonJS modules, those functions will crash when executed by CouchDB for Android.

If anything does go wrong, check the log file for CouchDB on your Android device.

UPDATE

The version of CouchDB for Android was updated yesterday and it should now support CommonJS modules.

like image 64
Teddy Avatar answered Oct 05 '22 13:10

Teddy