You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Piotrowski (JIRA)" <ji...@apache.org> on 2017/07/10 19:35:00 UTC

[jira] [Created] (CB-13005) config.xml preference: Implement Android equivalent to iOS' `BackupWebStorage`

Jan Piotrowski created CB-13005:
-----------------------------------

             Summary: config.xml preference: Implement Android equivalent to iOS' `BackupWebStorage`
                 Key: CB-13005
                 URL: https://issues.apache.org/jira/browse/CB-13005
             Project: Apache Cordova
          Issue Type: Improvement
          Components: cordova-android
            Reporter: Jan Piotrowski
            Assignee: Joe Bowser


For iOS users can set a `BackupWebStorage` preference in `config.xml` to control the cloud backup of web storage data:

> Set to cloud to allow web storage data to backup via iCloud. Set to local to allow 
> only local backups via iTunes sync. Set to none prevent web storage backups.

For Android this also possible, but a lot more complicated:

{code}
<platform name="android">
    <edit-config file="AndroidManifest.xml" 
                 target="/manifest/application" 
                 mode="merge">
        <application android:allowBackup="false"/>
    </edit-config>
</platform>
{code}

It would make sense to enable `BackupWebStorage` for Android as well or implement an equivalent preference config value.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org