Copy comment from LocationModule.java to Geolocation.js

Summary:This is to give a hint to developers when getCurrentPosition not returning anything on Android
Closes https://github.com/facebook/react-native/pull/6770

Differential Revision: D3131152

Pulled By: mkonicek

fb-gh-sync-id: 6726ed0f232c3b2f460d025fe9567e0d0783a707
fbshipit-source-id: 6726ed0f232c3b2f460d025fe9567e0d0783a707
This commit is contained in:
Yao Bin Then 2016-04-13 07:52:41 -07:00 committed by Facebook Github Bot 0
parent 97f60ad974
commit 7e2026a268
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ var Geolocation = {
/* /*
* Invokes the success callback once with the latest location info. Supported * Invokes the success callback once with the latest location info. Supported
* options: timeout (ms), maximumAge (ms), enableHighAccuracy (bool) * 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.
*/ */
getCurrentPosition: function( getCurrentPosition: function(
geo_success: Function, geo_success: Function,