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.
WKWebView
Webkit has ways to control microphone and camera, but doesn’t support Geolocation.
ArkWeb
Arkweb allows to control some permissions, including geolocation (also in background). The event handler onPermissionRequest enables control of the permission requests of camera, microphone and device sensors.