[
https://issues.apache.org/jira/browse/CB-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646280#comment-13646280
]
Philip Murphy commented on CB-3063:
-----------------------------------
Ok - Finally, I've gotten to the bottom of this. It appears to be a conflict
between Google AdMod code and Local Storage. I created a new project and yes it
worked as expected. Slowly but surely I tried to match the new project with the
one that was not working. Eventually, once I added the Ad Mob lib
(GoogleAdMobAdsSdk-6.1.0.jar) and used it, voila! the problem was reproducible.
The work-around for this issue it to add a slight delay before showing the ad -
solution taken from
http://stackoverflow.com/questions/8850103/android-html5localstorage-admob-bug
- apologies if I gave you a fright as I know the original issue has just been
fixed. Thanks.
> 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