Page 1 of 1

How can work with only Persisten Local Data ?

Posted: Mon Jan 27, 2014 8:36 am
by Jordi Niubo

Hi

I made some App with local storage but I have some problems.

When I close the App or I restart the mobile I lose all data.

How I can save this data with no internet? Can i save in a specific file or something?

Thanks


How can work with only Persisten Local Data ?

Posted: Mon Jan 27, 2014 9:38 am
by Maryna Brodina

Hello! If data is saved in localStorage it should be still there after you close app or restart device. Perhaps there is something wrong with app logic. Could you also clarify how do you test app - in browser or install on device? Please note you have to install app on device to get it working. If you need to save a file you can use http://cordova.apache.org/docs/en/3.0...


How can work with only Persisten Local Data ?

Posted: Mon Jan 27, 2014 10:17 am
by Jordi Niubo

Hi

Yes I had a error with data, thanks


How can work with only Persisten Local Data ?

Posted: Mon Jan 27, 2014 10:25 am
by Maryna Brodina

Do you need any further help?


How can work with only Persisten Local Data ?

Posted: Mon Jan 27, 2014 10:33 am
by Jordi Niubo

Not for the moment Maryna. If I have more errors i will tell them.
Thanks for your time :)