Hi,
I’m trying to set the allowBackup attribute in my app manifest to false but gradle complains with the following error:
Attribute application@allowBackup value=(false) from AndroidManifest.xml:4:18-45 is also present at [:barcodescanner:] AndroidManifest.xml:12:9-35 value=(true). Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml:4:5-11:19 to override.
To Set allowBackup=false using below line in config.xml file
<platform name="android"> <edit-config file="AndroidManifest.xml" target="/manifest/application" mode="merge"> <application android:allowBackup="false"/> </edit-config> </platform>
I use Barcode Scanner in my app.(Repo: [https://github.com/phonegap/phonegap-plugin-barcodescanner] recommended in https://ionicframework.com/docs/native/barcode-scanner/])
Thanks!