incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clemens Wyss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1661) LocalStorage does not persist on ios6
Date Tue, 16 Oct 2012 05:55:03 GMT

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

Clemens Wyss commented on CB-1661:
----------------------------------

We DID exceed the localstorage limit.
The explanation follows:
Storage(bahavior) is capsuled in a class. The save method of the capsule class checks the
size of the to be saved object. If object is "too big" AND we are running in a native app
we save it into WebSQL instead of localstorage. We have a helper function 'isNativeApp' which
looks (looked) alike:

Utils.isNativeApp = function ()
{return typeof(PhoneGap) != 'undefined' }

Up till cordova 2.0 PhoneGap was still "hanging around" ... now it's gone ;)

-> CLOSED

PS: thx for all your help (and patience)
                
> LocalStorage does not persist on ios6
> -------------------------------------
>
>                 Key: CB-1661
>                 URL: https://issues.apache.org/jira/browse/CB-1661
>             Project: Apache Cordova
>          Issue Type: Bug
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>            Priority: Minor
>
> Clemens Wyss added a comment - 15/Oct/12 05:00
> just did a test with the latest greatest 2.2 sources. 
> My localstorage was not backuped/restored ...
> Use/test case:
> 1) start/install app
> 2) write data to localstorage
> 3) close app
> 4) open app
> data 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

Mime
View raw message