Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does the local storage is maintained even after the app has been updated?

I am creating an app with PhoneGap
if my app update App Store
Does the value of local storage is maintained?

localStorage.val = "myName"

app store update

localStorage.val = ???

like image 633
Seung Beom Kim Avatar asked Dec 07 '25 06:12

Seung Beom Kim


2 Answers

Yes, local Storage is maintained upon app updates. You only lose it if the user deletes caches, or the app is unistalled

like image 61
Víctor Avatar answered Dec 11 '25 20:12

Víctor


Yes, If you update the app the local storage will be maintained.

Deleting & Installing the app will result in loss of local storage data.

like image 43
Anulal S Avatar answered Dec 11 '25 21:12

Anulal S