window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, success, fail);
However, simulator is crashing on LocalFileSystem.PERSISTENT, saying that it is undefined. But I when run it on Device, it works. Does the simulator doesn't support local storage?
5 Answers, 1 is accepted
If you want to access the local storage you should use window.localStorage attribute. We have a very nice sample project showing its capabilities. You could clone it locally by following these steps:
1. Go to Icenium Dashboard
2. Select Clone menu
3. In the Repository Uri field insert https://github.com/Icenium/sample-localstorage.git
5. Click OK
The Cordova File API is not yet supported in Simulator. Nevertheless the problems that you experience are already fixed in our code base and will be available in our next release.
Stay tuned and thank you for your feedback!
Kristina
the Telerik team
Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
The support of Cordova File API in Simulator is in our backlog but with low priority. You could create an item in our feedback portal and vote for it. We will prioritize it according to the votes it gets.
Greetings,Kristina
the Telerik team
Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
I'm still getting the undefined error in the simulator
Hello,
Unfortunately this is still not supported in Simulator. We are going to raise the feature priority, so stay tuned for one of our next versions!
Please excuse us for the inconvenience.
Kristina
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.