13 Sep 2012 12:19 AM #1
Unanswered: Is local storage will persistence data
i have a question on Ext.data.Store.
1. while using Ext.data.Store for local storage how log the data will be available , if clearing cache or cookies the data are retains or it will go off ?
2. is it possible to create a physical data storage file, some thing like .sqlite files
any one please answer my above question
Thanks in advance
16 Sep 2012 4:07 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You can't create files on the device, only use what the browser will let you use. I'm assuming you are wanting to keep data on the device regardless of what the user does like clearing things?Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
18 Sep 2012 6:43 AM #3
Local storage is cleared when users clear browser data on their phone. Nothing you can do about it. The only thing you could do is package up w/ a packager, then you could create files. but that requires distribution via app store channels for certain vendors like apple.