requestPermission method from Speech Recognition plugin is broken in iOS

Hi,

The requestPermission method is broken in the latest version of cordova-plugin-speechrecognition (Cordova Speech Recognition Plugin for iOS/Android Devices)

This is the error :point_down:

speechRecognition.hasPermission and speechRecognition.hasPermission methods are working fine.




Any ideias on what the issue could be?

Thanks!

You can try to downgrade the plugin version to see if that helps?

I just did. I downgraded to 1.0.0 but no luck.

So that means it is not a version issue.

Are you currently using this plugin in your project? @Hills90210

No I am not. This plugin seems old (6 yrs) and more than likely the dev isn’t updating it… Have you tried GitHub - capacitor-community/speech-recognition?