**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
```
Bug report
Current behavior:
cordova-android@latest
platformcordova-plugin-camera@latest
plugincordova-custom-config@latest
pluginconfig.xml
cordova prepare
cordova prepare
againqueries
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