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

**URL:** <https://forum.ionicframework.com/t/ionic-native-speechrecognition-functions-showing-is-not-a-function-error/184215>\
**Category:** Ionic React\
**Created:** [February 28, 2020, 9:40pm UTC](https://forum.ionicframework.com/t/ionic-native-speechrecognition-functions-showing-is-not-a-function-error/184215 "2020-02-28T21:40:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![emeritvs](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/emeritvs/32/130694_2.png) [@emeritvs](https://forum.ionicframework.com/u/emeritvs)\
**Post date:** [February 28, 2020, 9:40pm UTC](https://forum.ionicframework.com/t/ionic-native-speechrecognition-functions-showing-is-not-a-function-error/184215/1 "2020-02-28T21:40:16Z")

</div>

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

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

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/a/5/a5d28f90c3b4a4986c52ac370ca1f830e5972415.png)

My code:

[https://pastebin.com/ptmkT1DY](https://pastebin.com/ptmkT1DY)

How can I solve this?

---

<div class="post-metadata">

**Author:** ![gourabxz](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@gourabxz](https://forum.ionicframework.com/u/gourabxz)\
**Post date:** [April 27, 2020, 6:13pm UTC](https://forum.ionicframework.com/t/ionic-native-speechrecognition-functions-showing-is-not-a-function-error/184215/2 "2020-04-27T18:13:42Z")

</div>

have you got any solution?

---

<div class="post-metadata">

**Author:** ![aaronksaunders](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/aaronksaunders/32/13729_2.png) [@aaronksaunders](https://forum.ionicframework.com/u/aaronksaunders)\
**Post date:** [April 27, 2020, 6:28pm UTC](https://forum.ionicframework.com/t/ionic-native-speechrecognition-functions-showing-is-not-a-function-error/184215/3 "2020-04-27T18:28:49Z")

</div>

see the react documentation for using plugins

---

<div class="post-metadata">

**Author:** ![netkow](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/netkow/32/137759_2.png) [@netkow](https://forum.ionicframework.com/u/netkow)\
**Post date:** [April 27, 2020, 9:15pm UTC](https://forum.ionicframework.com/t/ionic-native-speechrecognition-functions-showing-is-not-a-function-error/184215/4 "2020-04-27T21:15:13Z")

</div>

Using plugins with React is a bit different than Angular. [See here](https://ionicframework.com/docs/native/community#react) for details.
