1

I am a beginner and developing an app using Cordova, ionic2 and Couchbase Lite for user data storage. I want the app to work offline. The app should be able to back up the data stored in the Couchbase Lite database to a specific location in the mobile itself. Suggestion or an example code that performs this task helps me a lot.

Yamini Sankar
  • 29
  • 1
  • 6
  • check out [Storage](http://ionicframework.com/docs/v2/storage/) you can also use the native [SQLite plugin](http://ionicframework.com/docs/v2/native/sqlite/) i think it allows for larger storage. –  Feb 07 '17 at 12:08
  • Sync option is available with Couchbase Light. That is the reason for selecting it. If possible please provide some code example. – Yamini Sankar Feb 09 '17 at 05:08
  • Cordova is related to PhoneGap. You can find a lot of information on the Couchbase site. There's also this Github repo: https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin And you can find blog posts about using Ionic with Couchbase at https://blog.couchbase.com/ – Hod Feb 09 '17 at 21:05

0 Answers0