voice
voice copied to clipboard
onSpeechError: {"error": {"code": "recognition_fail", "message": "1107/The operation couldn’t be completed. (kAFAssistantErrorDomain error 1107.)"}}
Would anyone please save my day with this error on IOS. I am using the latest version of react native.
@Njinou any luck getting the same error first click
@Njinou any luck getting the same error first click
Sure, on the IOs simulator, menu click on device and then erase all the content and settings per the screenshot

menu click on device and then
still the issue is there after erasing all the content. I have to press the mic at lease 3 time to make it work .
menu click on device and then
still the issue is there after erasing all the content. I have to press the mic at lease 3 time to make it work .
If the error appear when you click stop, then make sure to destroy the record when stopping (await Voice.destroy();)
The solution I came up with was this
async onSpeechError(e) {
this.setState({
error: e,
listeningToAudio: false,
});
this.startRecognizing();
console.log('speech error', e.error);
}
works fine. hope doesn't break
menu click on device and then
still the issue is there after erasing all the content. I have to press the mic at lease 3 time to make it work .
If the error appear when you click stop, then make sure to destroy the record when stopping (await Voice.destroy();)
This does not resolve this issue. still getting same issue
Resolve with me when I changed the language key to 'en-GB'
await Voice.start('en-GB');
As mentioned in 293#issuecomment