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

Michal Mocny commented on CB-903:
---------------------------------

So here is a first effort: 
https://github.com/mmocny/incubator-cordova-ios/tree/ios6_user_pref_persist_web_storage

I am trying to confirm that this is working as intended but I've not found a 
way to have the LocalStorage "cache" clear while WebKitStoreWebDataForBackup is 
set to NO.  So, cannot confirm that this patch prevents that.  LocalStorage 
seems to persist across app launches, simulator relaunches, etc.  Suggestions?
                
> iOS 6 - add setting to set WebKitStoreWebDataForBackup for user defaults from 
> Cordova.plist/config.xml
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CB-903
>                 URL: https://issues.apache.org/jira/browse/CB-903
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>         Environment: iOS 6 DP1
>            Reporter: Shazron Abdullah
>            Assignee: Michal Mocny
>            Priority: Critical
>              Labels: iOS6
>             Fix For: 2.1.0
>
>
> If WebKitStoreWebDataForBackup is set to YES in the app's user defaults, in 
> iOS 6 webkit storage is stored in a directory that will be backed up - add 
> equivalent setting in Cordova.plist/config.xml

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to