My current Android application targets 12 and higher.
I do not want to allow backup of any type and currently have these manifest settings:
android:allowBackup="false"
android:fullBackupContent="false"
However the android:allowBackup="false"
setting gives the following warning now:
The attribute android:allowBackup is deprecated from Android 12 and higher and may be removed in future versions. Consider adding the attribute android:dataExtractionRules specifying an @xml resource which configures cloud backups and device transfers on Android 12 and higher.
I've looked at the examples for android:dataExtractionRules
xml and none of them show how to configure the equivalent of allowBackup="false"
.
What am I missing?
Is it possible to achieve allowBackup="false"
with the use of android:dataExtractionRules
xml?