Closed bob-zs closed 6 years ago
Have you done react-native link react-native-speech-to-text-ios
?
@muhaos, yes, I have. And I figured out the issue. I had to run npm install
and pod install
multiple times, and I tried building with xcode, and the error 'RCTBridgeModule.h' file not found
Basically, I was using a later version of npm and react-native, and the headers <React/RCT*.h>
had to not have React
in it. Changing all those files, the SpeechToText
finally is not undefined.
The issue below helped.
https://github.com/oblador/react-native-vector-icons/issues/380
Ran:
However, the console states that
SpeechToText
is undefined