[Webkit-unassigned] [Bug 233315] New: WKWebView does not allow remembering permissions granted by the user?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 18 05:03:48 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=233315

            Bug ID: 233315
           Summary: WKWebView does not allow remembering permissions
                    granted by the user?
           Product: WebKit
           Version: Other
          Hardware: iPhone / iPad
                OS: iOS 14
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: franz at taptanium.com

What's happening: We're loading a WebRTC-based mobile-optimized chat web app into WKWebView which allows users to toggle on their microphone and talk to others in a virtual room. However, the problem is that WKWebView will ask for this permission repeatedly: Once the app moves to the background and comes to the foreground again, and the user wants to toggle the microphone on again, the user is presented with a new permission prompt.

Expected behavior: WKWebView should remember the granted permission and not ask again.

Interestingly, iOS Safari has an option where the user can grant a website permanent permission (roughly: "do not ask again for this site"). I couldn't find any relevant APIs to facilitate this and consider it a critical bug, as it has a hugely negative impact on user experience.

If I've missed something, I'd be glad to hear about it.

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211118/2b1dd6d6/attachment-0001.htm>


More information about the webkit-unassigned mailing list