Skip to content

Commit 36f47fd

Browse files
Merge pull request #260 from mapbox/ima-remove-background
Remove location update in background
2 parents 5fb714f + 4312493 commit 36f47fd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 0.11.0 - Unreleased
44

55
### Vision
6+
- Removed location update in background
67

78
### AR
89

MapboxVision/Services/LocationManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ final class LocationManager: NSObject, CLLocationManagerDelegate {
1717

1818
switch CLLocationManager.authorizationStatus() {
1919
case .notDetermined:
20-
locationManager.requestAlwaysAuthorization()
20+
locationManager.requestWhenInUseAuthorization()
2121
case .restricted, .denied:
2222
isReady = false
2323
case .authorizedAlways, .authorizedWhenInUse:

0 commit comments

Comments
 (0)