On iOS 11 I can run a web application that performs a WebRTC on Safari but when I write my own application using swift 4 and WKWebView it does not work!
Anybody know how to run WebRTC on WKWebView in iOS 11 ? or it is not supported this way?
Thanks.
On iOS 11 I can run a web application that performs a WebRTC on Safari but when I write my own application using swift 4 and WKWebView it does not work!
Anybody know how to run WebRTC on WKWebView in iOS 11 ? or it is not supported this way?
Thanks.
Hi guys,
I created a enhanced request under the ticket : https://bugreport.apple.com/web/?problemID=49062369
I don't understand why not to handle such a useful feature.
Hope that would be fixed soon.
So nobody has some kind of workaround to make it work ?
I have the same problem.
I need to show an webrtc webapp inside my app, and the WKWebView doesn't works.
Any help?
Tks in advance
I would like to know the ETA or some form of update on when WebRTC will be supported on WKWebView. The WKWebView is used on a lot of popular UI frameworks, like React Native. We would love to see at least some form of update, or an answer on when this functionality will be implemented. This issue is a blocker on us, as a result we are unable to release the iOS version of our app. There are a lot of developers out there waiting for this issue to be fixed.
+1 here! WebRTC is such an integral part of today's internet, I'm shook that this is still unimplemented and unplanned
+1, I need this feature
FYI, posting +1’s here won’t help. If you feel the need to +1 this, please follow the advice from my 30 Jan 2019 post.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
+1, I need this feature
Disappointed that it doesnt seem to be supported in iOS13 Beta
+1 I've seen this feature working in IOS 13 beta build 1, but after the second beta build it got regressed.
Any idea when you are getting this fixed? I't already been a few years and it's still not fixed....
As pointed out in few earlier replies from Eskimo (Apple Developer Relations representative), if you want it, you need to make a feature request, in Feedback Assistant, which you can get to by the "Report Bugs" link at the bottom of this page. The more the reports, the more attention it seems to get within Apple engineering. As I understand it, Apple engineers seldom frequent these forums, and Apple management (those that allocate resources to problems), frequent these forums even less. All you are doing is ranting at your fellow developers, who, by the way, most likely agree with you, and have agreed with you for a long time, based on the length of this thread. As far as an ETA is concerned, Apple will let you know when Apple lets you know. They don't usually divulge their plans except within Apple events such as WWDC and the like. Like always, develop according to what the state of the system is today, and what has been officially divulged by Apple at WWDC, et al.
Is Webrtc getUsermedia works in SafariViewController or WkWebview?
Code Block <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoadsInWebContent</key> <true/> <key>NSAllowsArbitraryLoadsForMedia</key> <true/> </dict>
Asking with hopes that someone has run into or replicated or even resolved this issue:
In my WKWebView (targeting both macOS 11.0 & 12.4), navigator.mediaDevices.getUserMedia()
hangs as promise when called, and never shows a prompt as one expects when running this on e.g. https://google.com.
Full write-up with info, MCVe, etc found here: https://developer.apple.com/forums/thread/734363
As previously suggested, I've added:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoadsInWebContent</key>
<true/>
<key>NSAllowsArbitraryLoadsForMedia</key>
<true/>
</dict>
and also NSAllowsArbitraryLoads
with no luck.
To be clear, navigator.mediaDevices.getUserMedia()
and navigator.mediaDevices.enumerateDevices()
are both defined:
getUserMedia()
hangs on promiseenumerateDevices()
returns an single (default) MediaInfoDevice audioinput
before & after asking permissions (via getUserMedia
or native microphone permissions via AVCaptureDevice)