maybe stop reprompting for web camera permissions - Apple update on WKWebview #711
-
Hello i am using this plugin to run our Capacitor App with a web based qr code scanner. Everything works fine it is just when you start the app the first time and use the camera you need to confirm the camera permission two times, the first time its the app camera permission (this one gets persisted) the second one seems to be the webview permission (that gets not persisted). So every time the app gets restarted we need to confirm camera permission (webview permissions) again. So i stumbled upon this -> https://developer.apple.com/videos/play/wwdc2021/10032/ at 11min things get interesting. https://developer.apple.com/documentation/webkit/wkuidelegate/3763087-webview Would it be possible to add this feature so we could work around the reprompting of camera permissions when using webcode getUserMedia? Maybe i could implement this myself but i dont know how. (limited native skills) :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
If you get permission request on every run I bet you actually just don't use |
Beta Was this translation helpful? Give feedback.
If you get permission request on every run I bet you actually just don't use
iosrtc
but use WebRTC from WebView. And I'm pretty sure you don't callregisterGlobals
fromiosrtc
.