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

PAVILLON commented on CB-8327:
------------------------------

We have exactly the same problem. All our apps were refused by apple store 
because it's impossible for us to correctly set BackupWebStorage parameter. So, 
datas are backuped on icloud... Apple refuses this action if datas are not user 
datas...... In our case, apps run in flying mode and that why we need to store 
in localstorage all downloaded datas by the apps. 


> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to