Closed tonatiuh closed 7 years ago
I've followed the install instructions (https://github.com/muhaos/react-native-speech-to-text-ios#important-xcode-plist-settings), however, I'm getting the following error:
undefined is not an object(evaluating '_reactNativeSpeechToTextIos2.default.startRecognition')
when running:
.... import SpeechToText from 'react-native-speech-to-text-ios'; ... export default class MyComponent extends Component { componentDidMount() { SpeechToText.startRecognition("en-US"); } }
Screenshot:
Ios version: 10.21 (physical device and emulated)
I'm closing this issue, I just found that was because I forgot to run "react-native link react-native-speech-to-text-ios". I thought that command was replaceable by the "IMPORTANT xCode plist settings."
I've followed the install instructions (https://github.com/muhaos/react-native-speech-to-text-ios#important-xcode-plist-settings), however, I'm getting the following error:
when running:
Screenshot:
Ios version: 10.21 (physical device and emulated)