JamesBrill / react-speech-recognition

💬Speech recognition for your React app
https://webspeechrecognition.com/
MIT License
657 stars 119 forks source link

Mobile Support? #69

Closed floan closed 3 years ago

floan commented 3 years ago

Everything is working perfectly on my laptop, however, nothing seems to happen when I try to run the app on mobile (React App on a mobile browser). Is there mobile support / does the API automatically request microphone access like it does for desktop?

I see a similar problem popped up in Issue #22 , is version 3 any more successful in getting it to work on android browsers?

JamesBrill commented 3 years ago

Hi @floan ! From my experience, the support for the Web Speech API is limited on mobile. It is completely unavailable on iOS and limited to Chrome/Samsung Internet on Android. Regarding speech recognition, we are limited by what the native OS allows the browser to perform and for this API, many devices will automatically deny the browser access to the microphone.

On my Android device, Chrome asks me for permission to use my microphone when testing the Mozilla demo. Once granted, that demo works for me.

A few questions:

floan commented 3 years ago

Hello!

Sorry for the late response. You're right, my device/browser doesn't support the Web Speech API. Thanks for the info!