Created on 04 May 2018
icon_unfollowing
Login to follow
allowbackup-android-plugin

allowBackup Android Plugin

Stable version 1.0.4 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded on 07 February 2023 by 
allowbackup-android-plugin

allowBackup Android Plugin

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

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.



Like my components? Buy me a beer :) and support my work.

Release notes (1.0.4)
  • Small tweaks in the plugin code.
  • CheckAllowBackupAndroidPlugin will return an error and error message when not used on Android.
  • Replaced the preference name from "BACKUP" to a more descriptive name like "ALLOW_BACKUP" to avoid confusion.
  • "ALLOW_BACKUP" preference default value set to "false"
License (1.0.4)
Reviews (1)
by 
2019-11-15
in version 1.0.1
Beware:  Does not appear to work with MABS 5.0
Category
Device capabilities, Other device capabilities
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
See all 1 dependencies
Application Objects
allowBackup Android Plugin has 0 AOs.
Team
Compatible with
Version 11
Database:
All
Asset consumers
No consumers yet.
Weekly downloads