How to add android:allowBackup=“false” via cordova plugin
问题 I am now developing a Cordova Plugin , I wanna add android:allowBackup="true" into AndroidManifest.xml , but I do not know how to specify it in plugin.xml . 回答1: The configuration edit that has worked for me was: <platform name="android"> <edit-config file="AndroidManifest.xml" target="/manifest/application" mode="merge"> <application android:allowBackup="false"/> </edit-config> </platform> EDIT Feb-2020: Please refer to answer from @Shashank Agrawal below for cordova-android >= 7 回答2: Answer