jamsch / expo-speech-recognition

Speech Recognition for React Native Expo projects
MIT License
128 stars 11 forks source link

[Android 13+] Chinese locales falling back to device locale #26

Closed jamsch closed 4 weeks ago

jamsch commented 1 month ago

Just a heads-up to anyone using this library for Android and using a locale such as cmn-Hans-CN & cmn-Hant-TW. A recent update to the Speech Recognition & Synthesis Play store listing (com.google.android.tts) which powers Android 13+ speech recognition no longer works for some Chinese locales and falls back to the device default locale (e.g. en-US).

Upstream tracking issue: https://issuetracker.google.com/issues/368353801

Current workaround: Change the locale to zh-CN, however on-device recognition is still affected.

jamsch commented 4 weeks ago

Seems to be fixed upstream now. Closing this issue.