'Bind to recognition service failed' on android device
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>
This should be on the official documentation, i wasted a lot of my time until i randomly found this. Someone should create a pull request.
For android fix, try adding this in your manifest file
<queries> <package android:name="com.google.android.googlequicksearchbox"/> </queries>
I'm agree. This must be in the official documentation. Thank you for this solution 👍🏻
For android fix, try adding this in your manifest file
<queries> <package android:name="com.google.android.googlequicksearchbox"/> </queries>
Still facing error when run in android 11.
For android fix, try adding this in your manifest.xml file
For android fix, try adding this in your manifest file
I have the same problem... could you please provide me with the working code to see if I can make it work in my code? Because I've tried everything and it's not working