jamsch / expo-speech-recognition

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

feat: Android 14+ language detection #36

Closed jamsch closed 3 weeks ago

jamsch commented 1 month ago

This PR adds a languagedetection event.

This event only fires if you enable the EXTRA_ENABLE_LANGUAGE_DETECTION android intent option when calling start(). Also covers the additional settings:

Only supported on Android 14+ right now, as the API for EXTRA_ENABLE_LANGUAGE_DETECTION was only added on API 34 (Android 14)