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 iOS when the user selects the Allow once permission on getCurrentPosition after a timeout the app is asking again for the location permissions.
Problem
The permission is asked again from the user without user interaction.
What is expected to happen?
The plugin should not ask for permission again.
What does actually happen?
On iOS the didChangeAuthorizationStatus event is triggered after the requested permission is removed by apple.
This event restarts the whole flow.
Information
Command or Code
Just call the navigator.geolocation.getCurrentPosition and when asked for permission select allow once.
Put the app in the background and wait around 3-5 minutes. After the app is reopened there is a new permission request.
Bug Report
On iOS when the user selects the Allow once permission on getCurrentPosition after a timeout the app is asking again for the location permissions.
Problem
The permission is asked again from the user without user interaction.
What is expected to happen?
The plugin should not ask for permission again.
What does actually happen?
On iOS the didChangeAuthorizationStatus event is triggered after the requested permission is removed by apple.
This event restarts the whole flow.
Information
Command or Code
Just call the navigator.geolocation.getCurrentPosition and when asked for permission select allow once.
Put the app in the background and wait around 3-5 minutes. After the app is reopened there is a new permission request.
Environment, Platform, Device
iPhone XS
iOS 13.6.1
Version information
Cordova: 9.0.0, cordova-ios: 5.1.1
Other Framework: Ionic 5
Operating System: macOS 10.15.6, Xcode 11.7
Checklist
The text was updated successfully, but these errors were encountered: