GitHub user mmocny opened a pull request:
https://github.com/apache/incubator-cordova-ios/pull/44
[IOS6] - Use WebKitStoreWebDataForBackup User Default setting to persist
web storage
1. on iOS6, use WebKitStoreWebDataForBackup User Default setting to persist
web storage instead of LocalStorage plugin.
2. for upgrade purposes, restore any old backups before deleting them
3. update web storage locations to iOS6 locations
4. fix copyFrom:to:error method in CDVLocalStorage to create destination
path if it doesn't exist.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mmocny/incubator-cordova-ios
ios6_user_pref_persist_web_storage
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-cordova-ios/pull/44.patch
----
commit ab39032287aa87658941a7ab8229613aa5e8e33a
Author: Michal Mocny <[email protected]>
Date: 2012-08-20T11:15:47-07:00
[ios] On iOS6, set UserDefaults and don't use the LocalStorage Plugin to
persists WebStorage
commit b7741dca88d16f197d05b5ef0f0e4454bca50f29
Author: Michal Mocny <[email protected]>
Date: 2012-08-20T11:15:47-07:00
[ios] On iOS6, set UserDefaults and don't use the LocalStorage Plugin to
persists WebStorage
commit 09883f80dbd92d04b56642fe22960aab5a3ae1d0
Author: Michal Mocny <[email protected]>
Date: 2012-08-22T07:42:20-07:00
Restore backups if they exist, then remove them (for upgrade from 5.1)
commit 1d146cc4e8738de9ee6ee9f8c3248bbcef7872a8
Author: Michal Mocny <[email protected]>
Date: 2012-08-22T07:53:16-07:00
resolving merge
commit e6788babb296c464327c1153df429aea14a99716
Author: Michal Mocny <[email protected]>
Date: 2012-08-22T11:55:55-07:00
Minor cleanups
commit 3b006538edcbe122bac9d90f913ba0a9f94857cb
Author: Michal Mocny <[email protected]>
Date: 2012-08-23T07:29:34-07:00
Update directory locations for webstorage on ios6. Fix issue with copyTo
not working if dest dir didn't exist.
----