0

I'm developing an app with ionic/cordova and I'm using local storage for the inApp products. Is it safe to use it and does the saved data persist even after a app update? I have to be really sure.

Any help much appreciated.

olivier
  • 2,585
  • 6
  • 34
  • 61

1 Answers1

3

Similar question: How persistent is localStorage? localstorage does persist and stores the data with no expiration date. However I would recommend to store the purchase data online, and sync it with localstorage once in a while. The user can delete the local storage manually, and then the data is lost. Retrieving it from your online cloud is therefore necessary.

Community
  • 1
  • 1
John
  • 10,165
  • 5
  • 55
  • 71