You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If use native WebRTC from WKWebView inside Cordova, every getUserMedia leads to new permission request to user. And this makes native WebRTC almost not suitable for use in production.
The text was updated successfully, but these errors were encountered:
RSATom
changed the title
add requestMediaCapturePermissionForOrigin support to avoid multiple permission request on getUserMedia call
[enhancement] add requestMediaCapturePermissionForOrigin support to avoid multiple permission request on getUserMedia call
Oct 28, 2021
I've tried the suggested solution and it's working pretty well. The app will still ask you once if you've never given the permission before, it will remember it afterwards and other instances of WKWebView with inAppBrowser for example will not automatically get the same permission!
I've tried the suggested solution and it's working pretty well. The app will still ask you once if you've never given the permission before, it will remember it afterwards and other instances of WKWebView with inAppBrowser for example will not automatically get the same permission!
This works really good! I It would be nice to have this implemented by default or as an option. For the moment, we wrote a hook for it to modify the file.
Feature Request
Motivation Behind Feature
If use native WebRTC from WKWebView inside Cordova, every getUserMedia leads to new permission request to user. And this makes native WebRTC almost not suitable for use in production.
Feature Description
The simplest solution is add
to https://github.com/apache/cordova-ios/blob/master/CordovaLib/Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewUIDelegate.m
but it's definitely insecure solution, and application should have ability to respond to this request, or provide list of safe origins.
Alternatives or Workarounds
Didn't find any
The text was updated successfully, but these errors were encountered: