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..


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


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


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