Hi allrecently I had a requirement persist the application state so that user can resume to the last page, whenever the app is close or device shut down.I initially assume that localStorage data will be persist even if I terminate the app, it seen not the case after several tests.What could be a better way to persist the localStorage state to the device?Thank you.
Just a quick reply.
localStorage should work.
What device and operating system version are you using?
In fact, it is my problem, I have use clearStorage command that wipe out entire data.
Been worried about 5MB limitation of local storage usage