iOS - custom ViewController - webView with custom mediacapture permission #5066
Replies: 1 comment
-
implemented here #5196 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello i am trying to make use of the new WKWebView additions for MediaCapturePermissions.
At the moment when our app gets startet the first time the user needs to confirm the camera permission twice.
First time for the App permission this one gets persisted but the webView camera permission is not persisted and gets resettet every time you start the app.
So i thought the new additions of wkwebview are able to disable this behaviour.
I followed the instructions here to create a custom view for capacitor -> create Custom View Controller
Can somebody help how to implement this? If i try it like in Apple's example i am getting the following errors and dont know what to do.

Here is the Code:
Beta Was this translation helpful? Give feedback.
All reactions