Control API permissions

In apps that can load arbitrary web apps, such as WebView-powered browsers, it is desirable to give users control over website permissions via custom native UI.

How does it work on each WebView?

Android WebView

Android WebView could use some WebRTC-related events: WebRTC IP leak.

WKWebView

Webkit has ways to control microphone and camera, but doesn’t support Geolocation.

WebView2

Microsoft’s WebView2 support is limited: