cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michel Parpaillon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8327) BackupWebStorage No Longer Works
Date Tue, 17 Feb 2015 15:52:12 GMT

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

Michel Parpaillon commented on CB-8327:
---------------------------------------

Yup, this should be it: https://github.com/MoreApp/Cordova-SQLitePlugin

"Other limitations
For iOS, iCloud backup is NOT optional and should be."

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


Mime
View raw message