This is an example app for the LiteGap container for PhoneGap/Cordova and Couchbase Lite
To install it follow the instruction in the LiteGap readme. Do note that it requires configuring the Couchbase Sync Gateway with the configuration from the native iOS version of this app
The app code itself is here and there is a Browserify script here to bundle the JavaScript before each build
There is a build phase for running the bundle.js
script. If it gives you any trouble you can delete it from the Xcode project, and run ./bundle.js -w
and it will bundle everytime you touch a file.