react-native-voice / voice

:microphone: React Native Voice Recognition library for iOS and Android (Online and Offline Support)
MIT License
1.76k stars 473 forks source link

This library is not working when internet is off #431

Open khadeshyam opened 1 year ago

khadeshyam commented 1 year ago

the speech recognition feature of the library is not working when internet is off here is the link to stackoverflow post

ayushgupta-1 commented 1 year ago

This is not working without internet because it is using OS's native speech to text engine, and those engine require internet to work.

So this is not an issue of this library.

lorenzoMalutta commented 1 year ago

What needs to be done to use it without internet and add additional languages like Portuguese?

AngadSethi commented 8 months ago

This seems like something that would be possible only on Android via the triggerModelDownload method. It doesn't have an iOS counterpart though, and downloading isn't possible with this library.

https://developer.android.com/reference/android/speech/SpeechRecognizer#triggerModelDownload(android.content.Intent,%20java.util.concurrent.Executor,%20android.speech.ModelDownloadListener)

codding123vbf commented 4 months ago

This seems like something that would be possible only on Android via the triggerModelDownload method. It doesn't have an iOS counterpart though, and downloading isn't possible with this library.

https://developer.android.com/reference/android/speech/SpeechRecognizer#triggerModelDownload(android.content.Intent,%20java.util.concurrent.Executor,%20android.speech.ModelDownloadListener)

how will i trigger download ? can u pls provice more details im not understanding it