expo-stt
expo-stt copied to clipboard
Passing locale code to startSpeech function and throw exception if locale doesn't available on the device
https://github.com/anhtuank7c/expo-stt/blob/main/android/src/main/java/expo/modules/stt/ExpoSttModule.kt#L58 https://github.com/anhtuank7c/expo-stt/blob/main/ios/ExpoSttModule.swift#L252
Should handle 2 things:
- Passing locale code to startSpeech function
- send onError event if locale doesn't available on device