csdcorp / speech_to_text

A Flutter plugin that exposes device specific text to speech recognition capability.
BSD 3-Clause "New" or "Revised" License
348 stars 217 forks source link

not working in web in ios safari standalone mode #468

Closed mniiinm closed 4 months ago

mniiinm commented 4 months ago

Hello, this library works well in ios safari, but when going to ios safari standalone mode (i mean pwa). It doesn't work anymore. i tested on several iPhones.

sowens-csd commented 4 months ago

I just added some content to the README about web speech recognition browser support, in particular a link here https://caniuse.com/?search=Web%20Speech%20API. There's a note there that says:

Safari 14.1 and TP 119+ include prefixed support for webkitSpeechRecognition without support for SpeechGrammar or SpeechGrammarList. Siri needs to be enabled. Not available in SafariViewController and web apps added to Home Screen.

Looks like that could be the source of the problem?

mniiinm commented 4 months ago

Yes, apparently this is exactly the reason for this problem. Thanks for checking this out.