Closed WuglyakBolgoink closed 2 months ago
You're targeting uses-permission
where edit-config
edits the target in place.
I think what you're after is config-file instead, which does insertions.
The config-file element only allows you to append new children to an XML document tree. The children are XML literals to be inserted in the target document.
The syntax is slightly different, see the example in the docs. Let me know of this helps.
Bug Report
Problem
What is expected to happen?
add custom permissions from project config.xml (not from plugin)
What does actually happen?
add in config.xml file
or
then remove android platform folder and build app again.
in result manifest file I can see
permission.CAMERA
but both modes (merge
&overwrite
) removepermission.INTERNET
from the manifest file (or maybe any other first permission in the whole list)Is it possible to
append
a new permissions into the manifest file?Version information
cordova-android@10.1.1
Checklist