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.
https://github.com/edimuj/app-audioinput-demo
MIT License
161 stars 88 forks source link

Microphone Permissions on iOS 10 #29

Closed asineath closed 7 years ago

asineath commented 8 years ago

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.

edimuj commented 8 years ago

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

khelkun commented 7 years ago

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>
edimuj commented 7 years ago

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.