Cordova Change AndroidManifest using Config.xml file

Since the recent release of [email protected] 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.


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>