Ionic Native - speechRecognition functions showing "is not a function" error

I’m trying to use this plugin: https://ionicframework.com/docs/native/speech-recognition

Each speechRecognition example (isRecognitionAvailable, hasPermission, getSupportedLanguages, requestPermission, startListening) when I call, this following error appears on screen:

My code:

https://pastebin.com/ptmkT1DY

How can I solve this?

1 Like

have you got any solution?

see the react documentation for using plugins

Using plugins with React is a bit different than Angular. See here for details.