[Webkit-unassigned] [Bug 208667] getUserMedia does not work in WKWebView-based browsers like Chrome, Firefox.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 22 02:13:25 PST 2020


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

--- Comment #73 from youenn fablet <youennf at gmail.com> ---
(In reply to Sam Gabriel from comment #72)
> @Apple First great job on adding the getUserMedia API to the wkwebview.
> However as many other posters have mentioned, we are unable to use the API
> due to the requirement that the page is loaded with https and with no
> ability to override this requirement. When working with ionic or cordova
> apps that is not an option.
>  
> I understand security is at the center of Apple philosophy. However as a
> developer, we are left with no choice but to use other libraries that are
> not updated as often as Apple would update the OS. Many of these older
> versions of those libraries might contain gaping security issues that will
> not be updated in time, leaving the user more vulnerable. 
> 
> Using a cordova or other web frameworks should be no different that using a
> native app. And as a matter of fact the mere fix to apple's implementation
> is to package and ship libwebrtc with the app and use some URL handling to
> get around that one issue. Ultimately building a less performant, less
> tested and less secure applications. 
> 
> Thank you

I am not familiar with ionic or Cordova.
I did a quick check with minibrowser in the simulator and loading http://localhost as the main page and calling getUserMedia does work there.

Is it possible that the main page is not http://localhost and an iframe loading from http://localhost is used?

-- 
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/20201222/6c74a277/attachment.htm>


More information about the webkit-unassigned mailing list