Repository: cordova-plugin-geolocation
Updated Branches:
  refs/heads/master ed5bfa42d -> 2134d2b89


CB-8523 Fixed accuracy when enableHighAccuracy: false on iOS. This closes #39


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/commit/2134d2b8
Tree: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/2134d2b8
Diff: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/2134d2b8

Branch: refs/heads/master
Commit: 2134d2b89d386069a4844a13bf5807ed2416e518
Parents: ed5bfa4
Author: Schaffer Krisztian <tiszt...@battletac.com>
Authored: Thu Feb 26 22:50:03 2015 +0100
Committer: sgrebnov <v-seg...@microsoft.com>
Committed: Tue Jan 5 09:33:43 2016 +0300

----------------------------------------------------------------------
 src/ios/CDVLocation.m | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/2134d2b8/src/ios/CDVLocation.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVLocation.m b/src/ios/CDVLocation.m
index 9284246..a7c0248 100644
--- a/src/ios/CDVLocation.m
+++ b/src/ios/CDVLocation.m
@@ -148,9 +148,8 @@
         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;
     }
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to