Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Persist localstorage in cordova app when app updates via app store

$
0
0

@JimboJ wrote:

I have a iOS app built using Ionic. Version 1 of my app (which has been released for a while) stores some data using HTML5 localStorage. I'm ready to release version 2 but updating the app (I've simulated both via xcode, itunes and via a testflight install) wipes all the data stored in localstorage.

It seems the localstorage db is stored in Library/Caches/ if that is helpful.

For info I'm using:

Cordova 3.9.2 and Ionic 1.1.1

After spending all day searching SO and various other sites I'm still no wiser.

Is there a way to prevent this? Interested to hear from anyone using localStorage on a released cordova app.

Posts: 7

Participants: 5

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>