Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Maintain state when user reboots?
-
Hi, how is it possible to maintain the state of my app when the user reboots? I.e values of variables/strings etc do not revert to original values?
Thanks in advance.
-
Anyone?
-
@lammie71, save the variables to localStorage (not recommended as it’s depricated in WKWebView) or better use the cordova-plugin-file.