[Webkit-unassigned] [Bug 239816] [iOS] Web Speech API doesn't work in WKWebView, but webkitSpeechRecognition is still exposed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 2 07:16:46 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=239816

Ali Juma <ajuma at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #5 from Ali Juma <ajuma at chromium.org> ---
(In reply to Sihui Liu from comment #3)
> Hi Ali,
> 
> WebKit uses Speech framework for recognition, so your app might need to add
> NSSpeechRecognitionUsageDescription:
> https://developer.apple.com/documentation/speech/
> asking_permission_to_use_speech_recognition?language=objc.
> 
> Did you already do that?

Thanks! That explains why it isn't working.

> or if you are a website developer... I think we will throw error when the
> app cannot prompt (e.g. due to missing the keyword), do you see the error?
> Or it's just nothing?

Yes, we get a service-not-allowed error when trying to use the API.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220802/689c407d/attachment.htm>


More information about the webkit-unassigned mailing list