cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [1/2] git commit: Revert CB-6911 partially (keeping Info.plist key installation for iOS 8)
Date Tue, 09 Sep 2014 00:09:48 GMT
Repository: cordova-plugin-geolocation
Updated Branches:
  refs/heads/master 1c18ea079 -> 4102a332b


Revert CB-6911 partially (keeping Info.plist key installation for iOS 8)


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/3bc05a42
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/3bc05a42
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/3bc05a42

Branch: refs/heads/master
Commit: 3bc05a423d064413d6d15e68e4f14417d823318c
Parents: 1c18ea0
Author: Shazron Abdullah <shazron@apache.org>
Authored: Mon Sep 8 17:00:35 2014 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Mon Sep 8 17:00:35 2014 -0700

----------------------------------------------------------------------
 src/ios/CDVLocation.m | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/3bc05a42/src/ios/CDVLocation.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVLocation.m b/src/ios/CDVLocation.m
index ffb9714..f6f47a2 100644
--- a/src/ios/CDVLocation.m
+++ b/src/ios/CDVLocation.m
@@ -122,11 +122,6 @@
     // first stop, and then start the updating to ensure we get at least one
     // update, even if our location did not change.
     [self.locationManager stopUpdatingLocation];
-    
-    if (IsAtLeastiOSVersion(@"8.0")) {
-        [self.locationManager performSelector:NSSelectorFromString(@"requestWhenInUseAuthorization")
withObject:nil afterDelay:0];
-    }
-    
     [self.locationManager startUpdatingLocation];
     __locationStarted = YES;
     if (enableHighAccuracy) {


Mime
View raw message