Bug: hasPermission() always results in success on iOS
Opened this issue · 1 comments
leshik commented
When on iOS, hasPermission()
always returns success, even if a user has denied the request to the speech recognition before. I think the cause is this line: https://github.com/pbakondy/cordova-plugin-speechrecognition/blob/master/src/ios/SpeechRecognition.m#L189
Not sure how this should be fixed – hasPermission
and requestPermission
share most of the code, maybe this should go in a separate function.