Created attachment 466079 [details] Screenshot of location prompt shown prior to 16.4 Background: - Before iOS 16.4 calling navigator.geolocation.getCurrentPosition(...) will present the permission prompt dialog. - In iOS 16.4 if a WKWebView is presented modally, calling navigator.geolocation.getCurrentPosition(...) does not bring up this prompt. As a result user's are unable to get location information via WKWebViews. (Please see attachment of prompt screenshot) - As a result, this regression in uOS 16.4 is blocking user's who rely on Salesforce iOS App, and have web components which request location via navigator.geolocation.getCurrentPosition(...) since permission is never granted To reproduce: - Present a ViewController containing a WKWebView modally. Open a website which requests location information, or via the Safari debugger console invoke: navigator.geolocation.getCurrentPosition(...) and observe permission modal never appears Similar cases have been reported via the developer forums, with no current official workarounds - https://developer.apple.com/forums/thread/727174 - https://developer.apple.com/forums/thread/728248
- From the github webkit issues we noticed this PR: https://github.com/WebKit/WebKit/pull/12489 which has been merged - Would the referenced PR resolve the issue described in the reported bug, and if so which version of iOS will this be available in.
Yes, this is a dupe of Bug 255133. It has been fixed. We understand this is a bad regression and are working to ship this as soon as possible. However, Apple does not comment on when a particular fix will ship or in which version. *** This bug has been marked as a duplicate of bug 255133 ***