How to edit AndroidManifest.xml in PhoneGap 3

后端 未结 4 1917
臣服心动
臣服心动 2020-12-15 18:36

It seems PhoneGap generates that file automatically when config.xml is modified.

I wish to add Ad network\'s activities, services, etc in AndroidM

4条回答
  •  时光说笑
    2020-12-15 19:03

    You probably want to check out cordova-custom-config.

    It supports many extra settings in the cordova config.xml to customise the AndroidManifest.xml.

    I'm using it to change the android:configChanges setting (adding uiMode to stop it from reloading when docking/undocking) and it works great.

    The cordova-custom-config github page shows a full example with all supported options so it's very easy to setup.

提交回复
热议问题