Question: I am working on a Phonegap app for Android which I am building with PhoneGap build. I noticed as I installed it that it requires a lot of permissions that I don't need, such as access to the camera.

In a normal android app I would change the manifest XML, but I can't find any documentation on how to do this while using phonegap build.

I am worried that this will put users off when installing it. How can I remove the unnecessary permissions?

Answer: 
For info, it could be that having a line such as

```
<gap:plugin name="org.apache.cordova.media" />    

```

in the config.xml file is the problem. Even with the

```
<preference name="permissions" value="none" />    

```

line, the media plugin creates new permissions which appear when an app is installed.
You will need to add the permissions to the `config.xml` file for phonegap build. By default, if you do not any permissions to this file all permission will be required.

It appears that you can now place the same elements that you would in `AndroidMAnifest.xml` into `config.xml`.

More information can be found here:
<http://docs.build.phonegap.com/en_US/3.3.0/configuring_config_file_element.md.html#Config%20File%20Elements>