Fomahaut
Fomahaut

Reputation: 1212

Cordova app keep localstorage data in new app version?

I'm developing an Cordova app using Cordova 3.5, and I have a question about data storage. How to keep data alive in new app version? Can I just use LocalStorage or WebSQL? or I need some others?

Upvotes: 0

Views: 711

Answers (2)

Arie Agung
Arie Agung

Reputation: 108

I'm updating my app on play store and some user reporting that their data gone after updating (I got a lot of 1 star and bad reviews because of that).

So now I store the data in file on SD CARD or in the cloud. Big performance hit.

Upvotes: 0

Andreas Brauchle
Andreas Brauchle

Reputation: 320

the localstorage is persistent. if you update the app all the saved key-value-pairs are still there. but if you delete the app and reinstall it again they are gone! WebSQL - i dont know!

But why dont you try it on your own?

Upvotes: 1

Related Questions