edimuj / cordova-plugin-audioinput

This iOS/Android Cordova/PhoneGap plugin enables audio capture from the device microphone, by in near real-time forwarding audio to the web layer of your application. A typical usage scenario for this plugin would be to use the captured audio as source for a web audio node chain, where it then can be analyzed, manipulated and/or played.

Home Page:https://github.com/edimuj/app-audioinput-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microphone Permissions on iOS 10

asineath opened this issue · comments

Will you add a permission request message for the microphone to comply with the iOS 10 security upgrade? The app crashes when the plugin is initiated without a specified permission request alert.

commented

Sorry, haven't had any time to look into that specific issue, due to other projects. In my own apps, I rely on the microphone plugin to handle permissions on iOS: https://github.com/amitgur/cordova-plugin-microphone

This did the job for me:
https://www.npmjs.com/package/cordova-plugin-ios-microphone-permissions
Actually I don't get why adding this directly in my cordova app config.xml doesn't add the permisison to my -Info.plist file:

<platform name="ios">
    <config-file parent="NSMicrophoneUsageDescription" target="*-Info.plist">
        <string>Blink uses your microphone to make calls.</string>
    </config-file>
</platform>
commented

Closing this issue, since there haven't been any activity for a while. Just give me a shout, if you want it to be reopened.