How to edit AndroidManifest.xml in PhoneGap 3

后端 未结 4 2003
臣服心动
臣服心动 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:29

    Phonegap uses config.xml to create androidmanifest.xml when you add the android platform to a project. It is also modified when you add plugins and build the project (for example, it adds the required permission for the plugin).

    But you can also manually edit the file in platforms/android/AndroidManifest.xml to add permissions, configure the activity or the application... it will not be lost when you rebuild your project.

提交回复
热议问题