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

Reply via email to