Not working in WKWebView/iOS 11 (e.g. Chrome)
See original GitHub issueSince this library relies on navigator.mediaDevices.getUserMedia
and mediaDevices
is null in WKWebView browsers, things break.
Notably, Safari is working fine.
It seems to be an Apple Issue and probably nothing can be done here. But I think it should be logged anyhow.
Regards, Drew
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (5 by maintainers)
Top Results From Across the Web
WKWebView not support some web-pages in iOS
I have a very simple web-view browser in my app, that works great except some sites. For example ...
Read more >iOS 11.3: WKWebView cookie synchronizing stopped working
Working on an app with web content, we switched fro UIWebView to WKWebView after iOS 11. We use URLSession for authentication, then webviews...
Read more >739390 - WKWebView loads much slower if it's not a part of ...
On iOS 11 WKWebView loads much slower if it is not a part of the view hierarchy. The purpose of this issue is...
Read more >208667 – getUserMedia does not work in WKWebView-based ...
getUserMedia does not work in iOS WKWebView-based browsers like Chrome, Firefox, ... Modern hybrid apps e.g. Cordova use a custom scheme to serve...
Read more >JavaScript Manipulation on iOS Using WebKit | Capital One
JavaScript that includes these message handler functions wouldn't compile if it's loaded in anything but a WKWebView object (you can try loading it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s correct unfortunately. Copied from zxing-js/ngx-scanner#Limitations:
https://blog.bitsrc.io/ios-14-3-brings-webrtc-to-wkwebview-closing-gap-on-ios-accessibility-90a83fa6bda2