Closed Ashish117 closed 2 years ago
Hi @Ashish117 Some comments:
react-speech-recognition
does not use the Media Devices API - instead it uses the Speech Recognition API. Safari only just started supporting Speech Recognition, so this might explain the discrepancy if you have an older version. Note that react-speech-recognition
will use Media Devices if using a polyfillClosed due to inactivity.
Hi, I built a react PWA and implemented the library, I am using an iOS device with latest os, I am successfully able to use it in safari but as an app it is not asking for microphone permission when triggering
SpeechRecognition.startListening()
. I testednavigator.mediaDevices.getUserMedia({ audio: true });
and it is asking for permission and starts recording but the library is not working on Pwa when it is added to homescreen.