jquery saving data until phonegap app closes?
<p>Is there a way to write data to a storage that gets erased when phonegap mobile app closes?
I used localStorage (html5) but this data does not get erased when app closes. How could I save data that last until app closes and I can't save it to variable because I use a lot of .js files and methods and don't want to pass all this variables with parameters.</p>
