- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have this code - In XDK emulator cordova app but after running and populate last100recent array with some objects namely eg {'id':899},... (cars ids - used cars app) after close and reopen xdk ripple emulator these gone ... how recover localStorage var...?
is any error in emulator... or any setting keep localstorage....?
var last100recent = []; if (localStorage.getItem("last100recent")=="" || localStorage.getItem("last100recent")== null || localStorage.getItem("last100recent") == undefined) last100recent = []; else last100recent = JSON.parse(localStorage.getItem("last100recent"));
- Tags:
- HTML5
- Intel® XDK
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This must be a bug in xdk - i checked an app that kept localstorage before... now that xdk updated Not keep localstorage ... what to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a known issue with the new Simulate tab. See the known issues section of the release notes > https://software.intel.com/en-us/xdk/docs/release-notes-information-intel-xdk < for a workaround.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page