3

Basically I want the sync feature of CouchDB while developing with HTML5 and package the app with phonegapp.

I see that couchbase mobile has a few drawbacks(large code size, long startup time) and TouchDB seems promising. However, I can't find an obvious way to integrate TouchDB with Phonegapp. Is this possible? Or what's the right way to do it? Thanks in advance.

blurrcat
  • 1,278
  • 13
  • 23

1 Answers1

1

I Think that the best way to use TouchDB on phone gap app's is to develop a phonegap-plugin that allow you to access touchDB from your JavaScript/HTML PhoneGap-app,

this means that you should develop a phonegap-plugin for Android that call TouchAndroid and another one for IOS that call TouchIOS, ...etc.

hope this help,

Samir Chakour
  • 135
  • 12