Open BeratHoxha opened 4 years ago
In the same screen i was using video from expo ( expo-av ), maybe it was a conflict or smth like that with expo, because when i changed video from expo-av to react-native-video, everything is working properly in all versions of iOS.
Did you manage to fix this? Or is there a workaround available?
I have the same issue. I use expo-av to play background music and react-native-voice.
Do you have a solution to use both ?
Guys! I Founded a solution. For me helped changing of Language which Voice lib listen. For English should be as 'en-GB'. Not others variants. await Voice.start('en-GB'); <--- like this.
@Boichonok ... i had tried like you said... but it didn't work for me.. getting the same error....
Has anyone found the solution? I’m getting the same error. onSpeechError: {"error": {"code": "recognition_fail", "message": "203/Retry"}}
Bug
react-native-community/voice ( 1.1.3 version ) is not working with new iOS version ( 10.3.1 ) anymore. Until this version everything worked fine but now just faced a problem in my real device, even though in simulator was working well. Than i noticed that in my phone i'm using 10.3.1 iOS version and in simulator i was using an older version.
In my device, after i'm starting voice recognition ( Voice.start('en-US') ), first is calling onSpeechStart callback, than is catching this error:
Also I downloaded 13.3.1 in simulators ( xcode, preferences, components ) just to be sure that is iOS version fault. It was not working in simulators with that version either, but is catching different error from real iphone. First, when i'm starting voice recognition, i'm not facing any error even though is not recognizing anything. After 10 seconds is catching this error:
With older version than 13.3.1 everything works well ( iOS ).
React Native Environment Info: