[
https://issues.apache.org/jira/browse/CB-903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13438871#comment-13438871
]
Michal Mocny commented on CB-903:
---------------------------------
Alright, found an issue with the original patch which explains the odd behavior
I was seeing. I was only ever setting the WebKitStoreWebDataForBackup value to
YES, and doing nothing otherwise. I assumed the value reset to default (NO)
with each app start, but it seems the value persisted.
Also, even if the value is NO, while the backup folder exists the app seems to
continue to backup (ios6 bug?). Either way, the space is wasted, so I agree I
should add a ::clear method.
Finally, very odd, but, even after removing the backup folder, and setting the
WebKitStoreWebDataForBackup value to NO, iOS6 still continues to make backups
unless the Cache folder is also removed (ios6 bug?). Perhaps there is some
other value being stored in the cache which hints at backups so I'll try to
diff the whole folder to see whats up.
> 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