You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
After spending long time on issue, i resolved issue by changing code in
SpeechRecognitionPlugin.java
-> line no 67 -> recognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, call.arguments.toString());
After changing this code works fine in android. So can any one update this line in android code
Thanks.
The text was updated successfully, but these errors were encountered:
I had issues in android for local language recognition.
Issue was speech_recognition was not detecting selected language and was giving error java.lang.IndexOutOfBoundsException
My code:
_speechRecognition
.listen(locale: "en-US")
.then((result) => print('$result'));
});
_speechRecognition
.listen(locale: "mr-IN")
.then((result) => print('$result'));
});
After spending long time on issue, i resolved issue by changing code in
SpeechRecognitionPlugin.java
-> line no 67 -> recognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, call.arguments.toString());
After changing this code works fine in android. So can any one update this line in android code
Thanks.
The text was updated successfully, but these errors were encountered: