vitto32 opened a new issue #267: Error callback not fired if user denies mic access URL: https://github.com/apache/cordova-plugin-media/issues/267 # Bug Report ## Problem I'm trying to use `startRecord` on Android but no callback is fired if user denies mic permission. ### What is expected to happen? Error callback (third argument of Media constructor) should be fired if the user refuses to give RECORDING permission. ### What does actually happen? No callback (success, error or status) is fired. ## Information If the user denies grants, the second time `startRecord` is called also success and status callbacks are disabled (even if the user give the permissions). Restarting the app is required to make it work. Logcat says: Attempted to send a second callback for ID: Media1253750911 This also happens using the code from the `startRecording` section in the README, ### Environment, Platform, Device Android 9.0 ## Checklist - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
