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());
Yes I have seen it.. Local storage is not supported in IE9 as it is in the other browsers. PhoneGap fixes that, but it require you to wait for the deviceready event.
That worked for me anyway.
Regards
Kim
Leave a comment on kim_ras's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic