localStorage being wiped after upgrade

localStorage being wiped after upgrade

BY 17 Jan 2014 Web Application Development

Hi,

I noticed that if I store data using HTML5 Local Storage it will persist as long as I keep using that version. If the user gets a new version or upgrades the app, the localstorage store (database) is wiped. I understand the technical reasoning behind this but frameworks such as Phonegap have a wrapper that makes the data persist.

What would be the recommended path when you want to persist data between upgrades?

Thank you,

-Daniel

Written by