After updating device to iOS 16.4.1 unable to location popup in WKWebView. Previously: In iOS 16.2, a popup appeared twice when retrieving location information for the first installed app. You can get location information by executing the navigator.geolocation.getCurrentPosition method on a web page opened in WKWebView. The first time, a popup location permissions for the app's domain appeared in a popup with a map and second pop-up requesting permission for Safari (WKWebView) location information was displayed. Current situation: In iOS16.4 and 16.4.1, the permission request popup for Safari (WKWebView) is not displayed, and only the permission request for the app domain is displayed in a popup with a map. After enabling popups on the map and running the navigator.geolocation.getCurrentPosition method does not work and I am unable to get the location. Therefore, I observed when we are navigation the ViewController using pushViewController then location popup is coming but during the present viewController, unable to get location popup for WKWebView.
You can check attached video -
presentViewController - [https://drive.google.com/file/d/1xbWIM5eQBQ1Sh7jvMpfN-y8i24QwSxuQ/view)
push - [https://drive.google.com/file/d/1UBs_W3HFIaJIBEdYy4MI6njxCceRFB8C/view)
I checked with multiple urls and getting same issue in case of present.