SQLite for JSON

Hi All,

I am using Ionic2/Angular2.

I am looking to store data on the users device/browser. I could use Local Storage, but have read it’s not reliable.

SQLite is reliable, but is SQL and not JSON. Also, I think it won’t work in a browser because it requires a Cordova plugin.

Question

Is there a way to store JSON reliably locally accessible from a devise and a browser?

Thanks

Did you look at ionic-storage?

1 Like

You could use Google Drive, One Drive or Drop Box to store JSON data. I do this and have a script that updates my couchbase sever. Couchbase also offers solutions for this.

can you explaine more please, thank you