dpa99c / cordova-custom-config

Cordova/Phonegap plugin to update platform configuration files based on preferences and config-file data defined in config.xml
318 stars 84 forks source link

Cannot insert new Item to the section on AndroidManifest #171

Open WuglyakBolgoink opened 2 years ago

WuglyakBolgoink commented 2 years ago

Bug report

Current behavior:

example

AndroidManifest ``` ```


**Expected behavior:** plugin should replace the value in the section **Environment information** - Cordova CLI version - `cordova -v` - 10.0.0 - Cordova platform version - `cordova platform ls` - Plugins & versions installed in project (including this plugin) - `cordova plugin ls` - Dev machine OS and version, e.g. - OSX - 12.0.1 (21A559) _Android build issue:_ - Node JS version - `node -v` - v14.18.1 **Related code:** ``` insert any relevant code here such as plugin API calls / input parameters ``` **Console output**
with `mode="add"` plugin duplicate original section and add the item into other section every time on `cordova prepare` ```xml ```