[
https://issues.apache.org/jira/browse/CB-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646297#comment-13646297
]
Philip Murphy edited comment on CB-3063 at 5/1/13 2:06 AM:
-----------------------------------------------------------
Hi Matthew, for me I had to explicitly add the GoogleAdMobAdsSdk-6.1.0.jar
before I had an issue with local storage. As I display Ads within my app I need
this Jar. I'd recommend upgrading to latest version of PhoneGap 2.7.0rc as
there appears to have been another issue with local storage with previous
versions. If you're already on the latest version and you're not using Ad Mob,
then I'm not too sure what the problem could be. My strategy to solving this
was to install the latest PhoneGap build, create a new clean project, and add
to the new project bit by bit until I could reproduce the issue. Painful, but
was worth it to get to the bottom of it. Best of luck. PS To find if you're
using it, right-click on project, select properties, Java Build Path,
Libraries. BTW, you actually need to have code that uses the library before the
issue will present itself. Just having the library in your project won't cause
an issue. See link to stackoverflow for an example of what the Ad Mob code
looks like. It is unlikely that you have such code in your project unless you
explicitly added it.
was (Author: philipjmurphy):
Hi Matthew, for me I had to explicitly add the GoogleAdMobAdsSdk-6.1.0.jar
before I had an issue with local storage. As I display Ads within my app I need
this Jar. I'd recommend upgrading to latest version of PhoneGap 2.7.0rc as
there appears to have been another issue with local storage with previous
versions. If you're already on the latest version and you're not using Ad Mob,
then I'm not too sure what the problem could be. My strategy to solving this
was to install the latest PhoneGap build, create a new clean project, and add
to the new project bit by bit until I could reproduce the issue. Painful, but
was worth it to get to the bottom of it. Best of luck.
> localStorage not persistent on Samsung Galaxy S3, maybe others
> --------------------------------------------------------------
>
> Key: CB-3063
> URL: https://issues.apache.org/jira/browse/CB-3063
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.6.0
> Environment: App running Jquery 2.0 beta, Jquery Mobile 1.3,
> RequireJS, UnderscoreJS, BackboneJS and Phonegap/Cordova 2.6.0. Samsung
> Galaxy S3 JellyBean (4.1.2)
> Reporter: Sindre Haaland
> Assignee: Joe Bowser
> Labels: android, localStorage
> Attachments: index.html
>
>
> After upgrading from Phonegap 2.5.0 to Phonegap 2.6.0 localStorage stopped
> working. setting and getting items from localStorage works when the app is in
> memory. One can go to the home screen and start the application again, but
> when it is completely closed the data from localStorage is lost.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira