From 4344e064e70cdf20573ac82d565a178b1be66897 Mon Sep 17 00:00:00 2001 From: Bill Date: Tue, 31 Jan 2017 11:52:40 -0800 Subject: [PATCH] Update Geolocation.js Summary: Clearer wording, on first read it is possible to get the impression that it will return immediately for both cached and on update request. Closes https://github.com/facebook/react-native/pull/12072 Differential Revision: D4482784 Pulled By: mkonicek fbshipit-source-id: 9eb9acf946b97b7b2b51f07e6a6572098afe7610 --- Libraries/Geolocation/Geolocation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/Geolocation/Geolocation.js b/Libraries/Geolocation/Geolocation.js index 26d0d877e4..3df191692a 100644 --- a/Libraries/Geolocation/Geolocation.js +++ b/Libraries/Geolocation/Geolocation.js @@ -61,8 +61,8 @@ var Geolocation = { /* * Invokes the success callback once with the latest location info. Supported * options: timeout (ms), maximumAge (ms), enableHighAccuracy (bool) - * On Android, this can return almost immediately if the location is cached or - * request an update, which might take a while. + * On Android, if the location is cached this can return almost immediately, + * or it will request an update which might take a while. */ getCurrentPosition: function( geo_success: Function,