Andrew Andrew - 1 year ago 183
Android Question

How to edit AndroidManifest.xml in PhoneGap 3

It seems PhoneGap generates that file automatically when

is modified.

I wish to add Ad network's activities, services, etc in
but I can't find the correct way to edit that file.

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download