[Webkit-unassigned] [Bug 213468] New: WKWebView doesn't remember motion permission

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 22 09:38:04 PDT 2020


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

            Bug ID: 213468
           Summary: WKWebView doesn't remember motion permission
           Product: WebKit
           Version: Other
          Hardware: iPhone / iPad
                OS: iOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: juliosincesar at hotmail.com

Every time you call DeviceMotionEvent.requestPermission() it shows the permission prompt, but it should remember and not show the prompt if it was granted (that's what all the native permissions do)

Sample app https://github.com/jcesarmobile/cordova-requestPermission-issue

run
cordova prepare
open platforms/ios/HelloCordova.xcworkspace
and run from Xcode on any iOS 13 device
click "Access DeviceMotions" and "Allow" on the prompt
run from Xcode again
click "Access DeviceMotions" again

the prompt is shown again, it should't because you already allowed it, DeviceMotionEvent.requestPermission() should just resolve.

-- 
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/20200622/8ca5aeb6/attachment-0001.htm>


More information about the webkit-unassigned mailing list