[Webkit-unassigned] [Bug 213467] New: WKWebView doesn't show motion usage description
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 22 09:31:33 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=213467
Bug ID: 213467
Summary: WKWebView doesn't show motion usage description
Product: WebKit
Version: Other
Hardware: iPhone / iPad
OS: iOS 13
Status: NEW
Severity: Blocker
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: juliosincesar at hotmail.com
If you have a Cordova app that uses WKWebView and devicemotion events, since iOS 13 it's required to request motion permissions with DeviceMotionEvent.requestPermission(), but the configured NSMotionUsageDescription is not shown and that causes App Store rejection.
See 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 the prompt shows "" Would Like to Access Motion and Orientation. But not the configured NSMotionUsageDescription.
As there is no NSMotionUsageDescription shown, Apple rejects the app because of their own bug.
see reported issue where the user claims that the app was rejected because of that https://github.com/apache/cordova-ios/issues/891
I would expect that the app shows the configured NSMotionUsageDescription text or that Apple doesn't reject apps because of that.
--
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/e5d55725/attachment-0001.htm>
More information about the webkit-unassigned
mailing list