Phonegap build: How to explicitly ask for permissions?
<p>I am building a hybrid app for Android and iOS, and using phonegap build cli-5.2.0</p>

<p>I am using a camera plugin</p>

<pre><code>&lt;plugin name="cordova-plugin-camera" source="npm" spec="2.2.0" /&gt;
</code></pre>

<p>I have this line specified in my config.xml</p>

<pre><code>&lt;preference name="permissions" value="none"/&gt;
&lt;feature name="http://api.phonegap.com/1.0/camera"/&gt;
</code></pre>

<p>And I notice that on my android device, it only asks for
read/write access of USB storage. When using the camera to take a photo, android doesn't ask for any permission and the camera just some how works.</p>

<p>I want to know how to explicitly require Camera permission on android prior to app installation? I need to have it because I believe it is causing some other bug related to a video functionality my app has.</p>

<p>I have tried to build without the permission none line, but that did not make any difference.</p>