I made an App using Phonegap + HTML5 + Websql, will the app's data be lost once the user restarts his mobile?

My app uses HTML5's Websql to store temporary notes / bookmarks, which will be synced later with server.

My doubt is - same like the browsers of the phone, will I loose the data in websql upon mobile restart (or cache clear)?

I haven't built the app yet.. Am on the planning part.. and this doubt aroused.. Anybody with experience out there? Coz if websql is volatile, I'll have to hunt for other methods..

EDIT:

Tested myself: Data is safe even mobile is restarted, thanks for your replies..

Answers


no, you will be fine - for iOS be sure to use the latest Cordova - there was an issue at one point with storage but those issues have been resolved as of 1.7.

carry on.


Need Your Help

Using setwd() to return to default in R

r

Does anyone know of a simple way to return to the default working directory in R?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.