I am in need to add some tags to the AndroidManifest.xml
file which is found under
platforms\\android\\AndroidManifest.xml
As I h
in my case, nothing was working but this one i came up with:
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest">
<application android:hardwareAccelerated="false" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" />
</edit-config>
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:
<edit-config file="AndroidManifest.xml" target="/manifest/uses-sdk" mode="merge">
<uses-sdk android:minSdkVersion="16" android:maxSdkVersion="23" />
</edit-config>
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.