Closed ish-joshi closed 5 years ago
The graceful exit does not work on safari as it's trying to do computation with 'recognition' variable when it's null. Safari is not a supported browser.
Hence, a possible fix is adding the if statement (commented out below)
I've also added a pull request https://github.com/FoundersFactory/react-speech-recognition/pull/17
Thanks for raising this! I've merged your PR and will publish a new version immediately.
Fixed in version 2.0.1
Thanks for your contribution!
The graceful exit does not work on safari as it's trying to do computation with 'recognition' variable when it's null. Safari is not a supported browser.
Hence, a possible fix is adding the if statement (commented out below)
I've also added a pull request https://github.com/FoundersFactory/react-speech-recognition/pull/17