You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On device (iPhone 12 Pro with iOS 17.2.1), calls to navigator.getCurrentPosition initially re-prompt for location permission even if @capacitor/geolocation's Geolocation has permission. To reproduce, add @capacitor/geolocation and a button for each of the calls to one of the default Ionic apps. Calls to Geolocation.requestPermissions and Geolocation.getCurrentPosition work as expected but navigator.geolocation.getCurrentPosition produces a new prompt asking for permission. Closing the app and repeating the procedure produces the same behavior. Closing the app and repeating for the third time now has navigator.geolocation.getCurrentPosition succeed without a further permission prompt.
d69809c1-0228-41b4-b59f-1bf61d689a6a.mp4
Expected Behavior
If location permissions have been granted, calls to navigator.geolocation.getCurrentPosition should proceed without a further prompt.