You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Philip Murphy (JIRA)" <ji...@apache.org> on 2013/05/01 04:01:15 UTC

[jira] [Comment Edited] (CB-3063) localStorage not persistent on Samsung Galaxy S3, maybe others

    [ 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:00 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.
                
      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 latest PhoneGap, 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