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
When rendering the MapboxGL.UserLocation component, on iOS there will always be a request for the background location permission, even with requestAlwaysUse explicitly set to false. The request is most likely triggered by this component, as it doesn't appear when commenting it out. I tested all scenarios after completely removing the app from iOS simulator to reset all permissions.
Expected behavior
When requestAlwaysUse is set to false (or not explicitly set), no request for background location permission appears.
Mapbox Implementation
Mapbox
Mapbox Version
default
Platform
iOS
@rnmapbox/maps
version10.0.0-beta.64
Standalone component to reproduce
Observed behavior and steps to reproduce
When rendering the
MapboxGL.UserLocation
component, on iOS there will always be a request for the background location permission, even withrequestAlwaysUse
explicitly set to false. The request is most likely triggered by this component, as it doesn't appear when commenting it out. I tested all scenarios after completely removing the app from iOS simulator to reset all permissions.Expected behavior
When
requestAlwaysUse
is set to false (or not explicitly set), no request for background location permission appears.Notes / preliminary analysis
No response
Additional links and references
UserLocation.md
The text was updated successfully, but these errors were encountered: