What are some of the ways to store data using Cordova/PhoneGap/Ionic? What are some of the ways to store data using Cordova/PhoneGap/Ionic? sqlite sqlite

What are some of the ways to store data using Cordova/PhoneGap/Ionic?


Edit: After some more research, the best solution to use in a PhoneGap environment would be angular-localforage

https://github.com/ocombe/angular-localForage

This angular service takes advantage of Mozilla LocalForage which will attempt to use the most robust solution to save your data, but then will fall back on simpler, more compatible options.


localForage, more simplified offline storage from Mozilla

http://mozilla.github.io/localForage/

Use this with any js library and store things like

  • Array
  • ArrayBuffer
  • Blob
  • Float32Array
  • Float64Array
  • Int8Array
  • Int16Array
  • Int32Array
  • Number
  • Object
  • Uint8Array
  • Uint8ClampedArray
  • Uint16Array
  • Uint32Array
  • String