Login to follow
allowBackupAndroidPlugin

allowBackupAndroidPlugin (ODC)

Stable version 0.1.0 (Compatible with ODC)
Uploaded on 15 November 2023 by valantic LCS
allowBackupAndroidPlugin

allowBackupAndroidPlugin (ODC)

Documentation
0.1.0

To allow you to set the allowBackup property of a cordova-android application.


Read less

Any Android applications that target Android 6.0 (API level 23) or higher automatically participate in Auto Backup. This is because of the android:allowBackup attribute, which enables/disables backup. The property defaults to true in outystems-android projects as it is omitted from the AndroidManifest.xml file.

<application ...     android:allowBackup="true"> </app>

This may cause you an issues if you are trying to clear localStorage as it will automatically be restored when the app is re-installed.

If you don't want this default behavior on Android you can disable Auto Backup. Include allowBackup Android Plugin in your project.