Closed Clashkid155 closed 8 months ago
Do those errors appear on different devices? One device shows the permission error and the other the language error? For the language that you are trying to use does that language work on some devices but not others? Or is that language not available anywhere?
There is an issue with getting locales for new versions of Android that I'm still trying to resolve, but that only affects the locales
property, as long as you provide the correct language code the speech recognition still works.
Do those errors appear on different devices?
I'm only able to test on two physical devices, one is mine which I get those errors on, everything works well on the other device.
One device shows the permission error and the other the language error?
I get both errors on my device.
For the language that you are trying to use does that language work on some devices but not others? Or is that language not available anywhere?
I haven't tested that language on another device, but I was actually expecting more languages on my device, I have no idea why it only shows one.
You say that you get both errors on your device. Can you describe the steps to reproduce each error? What Android version is your device?
https://github.com/csdcorp/speech_to_text/assets/21040700/40919d41-7c2c-48d8-8df3-4e94abf4040d
Error log is basically the same with the initial post. My device: A13 (Doesn't work)
My emulator: A13 (Pixel 6 pro; works)
Infinix: A12 (Works)
I no longer use the app so I'm closing this.
Using both the example app and my own code, my app doesn't work on some devices. I get one of two errors which are:
I have read and tried all your troubleshooting steps, but none seems to work. Interestingly enough, my emulator works but my device doesn't work.
Tested on:
Error log:
I tried adding another language pack but I still get only one language available