CB-8443 Android: nothing happens if GPS is turned off

github close #61


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

Branch: refs/heads/master
Commit: 4f9dcf02f7c4bfc979abbf10a0676ece6459740f
Parents: 8cf3756
Author: sgrebnov <v-seg...@microsoft.com>
Authored: Tue Dec 29 10:06:42 2015 +0300
Committer: sgrebnov <v-seg...@microsoft.com>
Committed: Mon Jan 4 11:05:01 2016 +0300

----------------------------------------------------------------------
 README.md | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/4f9dcf02/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index c213a5b..74695ea 100644
--- a/README.md
+++ b/README.md
@@ -140,6 +140,11 @@ error, the `geolocationError` callback is passed a
 
     navigator.geolocation.getCurrentPosition(onSuccess, onError);
 
+### Android Quirks
+
+If Geolocation service is turned off the `onError` callback is invoked after 
`timeout` interval (if specified).
+If `timeout` parameter is not specified then no callback is called.
+
 ## navigator.geolocation.watchPosition
 
 Returns the device's current position when a change in position is detected.
@@ -206,7 +211,8 @@ Optional parameters to customize the retrieval of the 
geolocation
 
 ### Android Quirks
 
-Android 2.x emulators do not return a geolocation result unless the 
`enableHighAccuracy` option is set to `true`.
+If Geolocation service is turned off the `onError` callback is invoked after 
`timeout` interval (if specified).
+If `timeout` parameter is not specified then no callback is called.
 
 ## navigator.geolocation.clearWatch
 


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

Reply via email to