- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do I clear local storage? I'm running 2366 on Mac OSx.
Restarting XDK doesn't do it; restart of OSx doesn't do it.
Thanks.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Look at this link: https://software.intel.com/en-us/xdk/blog/remove-xdk-local-data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What "local storage" are you referring to?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, but this link "https://software.intel.com/en-us/xdk/blog/remove-xdk-local-data" is no help at all.
First, it doesn't list the files that need to be deleted:
Apple OS X*
Under the ~/Library/Application\ Support/XDK directory, delete the following files and folders
And, secondly, there isn't an XDK directory in the ~/Library/Application\ Support directory. ??
--------------
Here's what I'm doing: I pull data from a MySQL database and create a local storage item -- localStorage.setItem("status", obj.status);
Later, I decide to change the name of local storage item to "customerStatus". The old "status" item is still in local storage memory. It doesn't go away when I restart XDK, or when I reboot OSx.
I could add some code to get rid of it (localStorage.removeItem("status"); I was hoping the XDK would have a "clear local storage" feature hidden away somewhere.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm guessing that you are using the Emulate tab in the XDK to do this? Is that correct? The local storage in the Emulate tab is part of the XDK, but I am not aware of a way to clear it, since it is shared with the rest of the XDK tools, so doing so might have a negative impact on the the rest of the XDK.
I recommend you use the Debug tab for this level of debugging, it will allow you to debug on a real device and get real device behavior. The Emulate tab is useful for basic logical debugging, but does not represent a real device. See this debug overview page: https://software.intel.com/en-us/xdk/docs/intel-xdk-debug-and-test-overview
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I was in the emulator. I should have figured that one out on my own. Thanks Paul.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page