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:
parent
97f60ad974
commit
7e2026a268
|
@ -50,6 +50,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.
|
||||
*/
|
||||
getCurrentPosition: function(
|
||||
geo_success: Function,
|
||||
|
|
Loading…
Reference in New Issue