Reputation: 1093
I have written an Android PhoneGap application that uses localStorage. As long as the user does not clear the localStorage themselves, is localStorage a persistent way to store data? Will the data last as long as the user doesn't delete it? My understanding is that it will persist, but I just want to make sure before releasing it. If this isn't so persistent, what else would be a good way to store data?
Upvotes: 2
Views: 260
Reputation: 17521
Yes. localStorage is persistent until user clears/disables it.
Upvotes: 2