Skip to content
Permalink
Browse files
CB-8523 Fixed accuracy when enableHighAccuracy: false on iOS. This cl…
…oses #39
  • Loading branch information
Schaffer Krisztian authored and sgrebnov committed Jan 5, 2016
1 parent ed5bfa4 commit 2134d2b89d386069a4844a13bf5807ed2416e518
Showing 1 changed file with 1 addition and 2 deletions.
@@ -148,9 +148,8 @@ - (void)startLocation:(BOOL)enableHighAccuracy
self.locationManager.desiredAccuracy = kCLLocationAccuracyBest;
} else {
__highAccuracyEnabled = NO;
// TODO: Set distance filter to 10 meters? and desired accuracy to nearest ten meters? arbitrary.
self.locationManager.distanceFilter = 10;
self.locationManager.desiredAccuracy = kCLLocationAccuracyNearestTenMeters;
self.locationManager.desiredAccuracy = kCLLocationAccuracyThreeKilometers;
}
}

0 comments on commit 2134d2b

Please sign in to comment.