-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio recording failed in marshmallow #30
Comments
Same issue here with a Galaxy s5 :/ |
We've created a fork that fixes this issue. Permissions have changed in Android 6+ and need to be checked whenever the native functionality is used instead of when the app is installed. The 'setAudioSource' error occurs because the necessary permissions have not been granted. The fork adds a 'doPermissions' function to the plugin that can be called to check and if necessary request the appropriate permissions. https://github.com/alssl-ross/cordova-plugin-audio-recorder-api |
Thanks alssl-ross, your solution worked for me and it is awesome now., I wish if it is possible to have methods for pause and resume audio recording that will make the plugin fully functional. |
Hi, after installing this plugin https://github.com/alssl-ross/cordova-plugin-audio-recorder-api build failed in ios version. |
Hi, we do not have that problem and have built both iOS and Android versions successfully. What was the nature of the failure? Do you have an error message? |
Hi, please find the error message what I am getting while building for IOS: Undefined symbols for architecture arm64: This error coming after installing the plugin from using the following command: cordova plugin add https://github.com/alssl-ross/cordova-plugin-audio-recorder-api |
Hi, We've updated the iOS version and removed the reference to AudioSessionSetProperty which was deprecated in iOS 7. Please readd the plugin and give it a try. |
Thanks for the solution, everything works perfect now. |
Thanks ! Saved my time. |
Hi not working in Noughat, on my Nexus 6 phone. |
After few seconds of audio recording start function call it failed with the following error message:
setAudioSource failed
This issue I found in marshmallow device. Also can you add support for pause audio recording if possible.
The text was updated successfully, but these errors were encountered: