[ 
https://issues.apache.org/jira/browse/CB-8327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michel Parpaillon updated CB-8327:
----------------------------------
    Affects Version/s: 4.1.3
                       3.6.0

> BackupWebStorage No Longer Works
> --------------------------------
>
>                 Key: CB-8327
>                 URL: https://issues.apache.org/jira/browse/CB-8327
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: 3.6.0, 4.1.3
>         Environment: iOS
>            Reporter: Michel Parpaillon
>
> Hi,
> The following preference is no longer working:
> {quote}
> <preference name="BackupWebStorage" value="none"/ >
> {quote}
> To reproduce this bug,
> {quote}
> cordova create hello com.hello.www hello
> cordova platform add ios
> {quote}
> Add this to the config.xml file (or local, both are broken)
> {quote}
> <preference name="BackupWebStorage" value="none" />
> {quote}
> Add some content to your LocalStorage in index.js. Something like
> {quote}
> for(var i = 0; i < 5000; i++){
> localStorage.setItem('cordoooooova_' + i, 'Please fix thiiiiiiiiiiiiiis. 
> Thx');
> }
> {quote}
> Build it
> {quote}
> cordova build ios
> {quote}
> Open the project in Xcode
> Build it on a real Device (!= emulator)
> When the app has launched
> Go to Settings / iCloud / Storage / Manage storage /
> Tap on your Device (eg. iPad of Johnny Depp)
> Tap on "Show all apps"
> Now wait a few seconds (like 10 or 20... It takes some time to refresh)
> Result: The app appears (bottom of the list). The local storage has been 
> stored in iCloud. 
> The app will be surely rejected (It depends on the amount of Datas in the LS)
> I've tried several work arounds and I've tested many versions of Cordova 
> (almost all from 3.6.0-0.2.9). Nothing worked.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to