cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mads Dahlke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-2427) jQuery Mobile + Phonegap = no localStorage on Windows Phone 8
Date Wed, 13 Feb 2013 16:54:12 GMT

    [ https://issues.apache.org/jira/browse/CB-2427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13577708#comment-13577708
] 

Mads Dahlke commented on CB-2427:
---------------------------------

Thanks for taking the time to help me. Hope the above is of use to you.

Thanks, Mads
                
> jQuery Mobile + Phonegap = no localStorage on Windows Phone 8
> -------------------------------------------------------------
>
>                 Key: CB-2427
>                 URL: https://issues.apache.org/jira/browse/CB-2427
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>         Environment: Windows Phone 8, PhoneGap 2.4.0, jQuery Mobile 1.2.0 
>            Reporter: Mads Dahlke
>         Attachments: DemoApp.zip, with_jQueryMobile.PNG, without_jQueryMobile.PNG
>
>
> https://groups.google.com/forum/m/?fromgroups#!topic/phonegap/oSFBWinaYEo
> I'm using PhoneGap 2.4.0 and jQuery Mobile 1.2.0 in a Windows Phone 8 app. As soon as
I include jQuery Mobile I get an error when trying to use localStorage. If I remove jQeryMobile
localstorage is woring just fine. Has anyone else see this behavior?
> //On Windows Phone 8 (Android and iOS are fine) we crash when trying to do window.localStorage.setItem
> console.log('PRE window.localStorage.setItem! Trying to set UserName = ' + $(data).find("UserName").text());
> try{
>  window.localStorage.setItem("UserName", $(data).find("UserName").text());
> }
> catch (e){
>  //ERROR MSG: Error: The system cannot find the file specified.\r\n
>  console.log('ERROR MSG: ' + e);
> }

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

Mime
View raw message