You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2014/12/02 22:15:07 UTC
[1/2] cordova-plugin-geolocation git commit: Do not stop updating
location when the error is 'kCLErrorLocationUnknown'
Repository: cordova-plugin-geolocation
Updated Branches:
refs/heads/master 41233f66f -> 5c63a069b
Do not stop updating location when the error is 'kCLErrorLocationUnknown'
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/55194aab
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/55194aab
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/55194aab
Branch: refs/heads/master
Commit: 55194aab45a17335e7bc581c3ce031c5311991f9
Parents: 887df52
Author: Christopher Blum <ch...@spellboy.com>
Authored: Wed Nov 5 11:23:43 2014 +0100
Committer: Christopher Blum <ch...@spellboy.com>
Committed: Wed Nov 5 11:23:43 2014 +0100
----------------------------------------------------------------------
src/ios/CDVLocation.m | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/55194aab/src/ios/CDVLocation.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVLocation.m b/src/ios/CDVLocation.m
index f82b52a..bcb12df 100644
--- a/src/ios/CDVLocation.m
+++ b/src/ios/CDVLocation.m
@@ -343,8 +343,10 @@
[self returnLocationError:positionError withMessage:[error localizedDescription]];
}
- [self.locationManager stopUpdatingLocation];
- __locationStarted = NO;
+ if (error.code != kCLErrorLocationUnknown) {
+ [self.locationManager stopUpdatingLocation];
+ __locationStarted = NO;
+ }
}
//iOS8+
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[2/2] cordova-plugin-geolocation git commit: Merge branch 'CB-5753'
Posted by ia...@apache.org.
Merge branch 'CB-5753'
Fixes an error where geolocation would stop if the location service
couldn't immediately retrieve a location.
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/5c63a069
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/5c63a069
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/5c63a069
Branch: refs/heads/master
Commit: 5c63a069b73844408ec2d7c36d086743200f0c46
Parents: 41233f6 55194aa
Author: Ian Clelland <ic...@chromium.org>
Authored: Tue Dec 2 16:11:31 2014 -0500
Committer: Ian Clelland <ic...@chromium.org>
Committed: Tue Dec 2 16:12:39 2014 -0500
----------------------------------------------------------------------
src/ios/CDVLocation.m | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org