I am in need to add some tags to the AndroidManifest.xml
file which is found under
platforms\android\AndroidManifest.xml
As I have read the AndroidManifest.xml
file gets generated on the fly and it is not advisable to edit it.
So is there a plugin that I can use that will modify the AndroidManifest.xml
file for me with the values that I give it in the config.xml
file?
in my case, nothing was working but this one i came up with:
Since the recent release of cordova@6.4.0 you can use the
<edit-config>
tag in config.xml to do this without requiring a 3rd party plugin. For example:There is a plugin for that:
https://www.npmjs.com/package/cordova-custom-config
By using this plugin you can modify all the platform specific things (iOS and Android) and you get a clean cordova envirement.