Phonegap Android permissions, config.xml and plugins
02:56 04 Sep 2013

I have a Phonegap app that I'm currently developing and testing for Android. Problem is, when I publish to device, the Android Manifest is full of permission requests that I did not ask for.

I have already figured out that the Phonegap Plugins (see this docs page under "Add features") have something to do with it. If you install a plugin like Camera, then PhoneGap will automatically add the related permission to AndroidManifest. So I've uninstalled all Phonegap Plugins that I didn't need, and those permissions went away.

So far so good.

Trouble is, my Android Manifest (and a file called "android.json" in the project's /Plugins directory) still contain a number of unwanted features:




Since my app is about budgeting, a "Record video" permission would suggest to any sane user that this is an evil sneaky app trying to destroy their privacy.

How do I get rid of these feature requests? I already tried...

  1. Adding to config.xml.
  2. Uninstalling all related Phonegap Plugins. I even uninstalled a plugin AudioHandler that seems to have come preinstalled when I created the project.

Of course I can remove the stuff manually from AndroidManifest.xml before I publish my final version. But I would like a more structural solution, since I use "cordova run android" to test on device, and this overwrites all changes to AndroidManifest.xml and android.json.

android permissions cordova config