Hello,
we have this library successful in production, however we got problems with specific Huawei devices.
Generally voice recognition seems to work and also does this library say they are available:
await Voice.getSpeechRecognitionServices() => [ 'com.google.android.googlequicksearchbox' ]
await Voice.isAvailable() => true
on Voice.start(...) I get the error from logcat:
E/SpeechRecognizer: bind to recognition service failed
Any tips on this topic?
react-native: 61.2
react-native-voice: 1.1.0
I have the same issue on Redmi device.
Unable to start service Intent { act=android.speech.RecognitionService cmp=com.miui.voiceassist/com.xiaomi.mibrain.speech.asr.AsrService } U=0: not found on ActivityManager tag. I saw this line in Flipper before SpeechRecognizer: bind to recognition service failed
The device is using:
Android Version 9
MIUI 11.0.3
Have you solved the issue?
For android fix, try adding this in your manifest file
<queries>
<package android:name="com.google.android.googlequicksearchbox"/>
</queries>
Most helpful comment
For android fix, try adding this in your manifest file
<queries> <package android:name="com.google.android.googlequicksearchbox"/> </queries>