Voice: Cannot read property 'startSpeech' of undefined

Created on 12 Jan 2018  路  7Comments  路  Source: react-native-voice/voice

All 7 comments

hello! try these steps:

# uninstall app
# stop packager
watchman watch-del-all
rm -rf $TMPDIR/react-*
rm -rf $TMPDIR/haste-*
rm -rf $TMPDIR/metro-*
# restart packager
# run android

@anaerobic

Is it possible to confirm if I've linked it correctly after installing?
I'm having the same problem, and I'm suspicious of the link.

However my error is
typeerror: undefined is not an object (evaluating 'Voice.onSpeechResults ...

If you built your app using: create-react-native-app it cannot use native components like this.

aka react-natve link won't work

Instead use react-native init

tragedy :/

react-native link react-native-voice

rebuild

image

this error on SpeehRecognition

Was this page helpful?
0 / 5 - 0 ratings

Related issues

henrych4 picture henrych4  路  8Comments

jagadhishm87 picture jagadhishm87  路  3Comments

AgNm picture AgNm  路  4Comments

Fistynuts picture Fistynuts  路  7Comments

tiennguyen9988 picture tiennguyen9988  路  5Comments