Creator App with Phonegap Build to access Microphone


I have an app built with Creator which I then download as a zip to build an apk with Phonegap Build.
That process works just fine.

I now want to add a permission to access the microphone, but when installing the app, it never shows me that permission is being requested.

I always modify the config.xml before uploading to phonegap, but I don’t know the correct syntax to allow the recording of audio.

Here’s a chunk of my config.xml that has all the things I’ve tried.
what am I missing? or do I now have too many settings that are in conflict?
(there are some extra spaces in there so I could get it to display in this forum)


<allow-navigation href="*" />
<allow-intent href="*" />
<access origin="*" launch-external="yes"  />

< preference name=“fullscreen” value=“true” />

<gap:plugin name=“cordova-plugin-android-permissions” source=“npm” version=“0.10.0” />

< preference name=“permissions” value=“none”/>

< preference name=“permissions” value=“android.permission-group.MICROPHONE”/>
< preference name=“permissions” value=“android.permission.RECORD_AUDIO” />
< preference name=“permissions” value=“android.permission.MODIFY_AUDIO_SETTINGS” />

<gap:plugin name="cordova-plugin-media-capture" source="npm" version="1.3.0" />

< plugin name=“cordova-plugin-media-capture” >
< variable name=“MICROPHONE_USAGE_DESCRIPTION” value=“App would like to access the microphone.” />
< /plugin>

< plugin name=“cordova-plugin-camera”>
< variable name=“MICROPHONE_USAGE_DESCRIPTION” value=“App would like to access the microphone.” />
< /plugin>

<feature name=""/>
<feature name=""/>

<!--preference name="android-targetSdkVersion" value="12" /-->

< preference name=“android-target-sdk-version” value=“22”/>

<uses-permission android:name="android.permission.INTERNET" />

<platform name="android">

 <edit-config target="AndroidManifest.xml" parent="/manifest" mode="merge">
	<uses-permission android:name="android.permission-group.MICROPHONE" />
	<uses-permission android:name="android.permission-group.RECORD_AUDIO" />
	<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
	<uses-feature android:name="android.hardware.microphone" android:required="true"/>			 
	<uses-feature android:name="" />
	<uses-feature android:name="" />


< feature name=“InAppBrowser”>
< param name=“android-package” value=“org.apache.cordova.inappbrowser.InAppBrowser” />
< /feature>

< feature name=“Media”>
< param name=“android-package” value=“org.apache.cordova.AudioHandler”/>
< /feature>

< feature name=“Capture”>
< param name=“android-package” value=“org.apache.cordova.Capture” />
< feature>


bump, just because it’s been 2 months. :slight_smile: