From 61800414cbd23b97172ee13a5ff602285cd4af1b Mon Sep 17 00:00:00 2001 From: Tikhon Botchkarev Date: Tue, 5 Sep 2017 11:42:35 -0700 Subject: [PATCH] Reference PermissionsAndroid in Geolocation doc Summary: Current Geolocation API docs do not mention using PermissionAndroid when working with API 23+. This updates the docs to reflect that requirement. This a documentation change, so no testing is required. Closes https://github.com/facebook/react-native/pull/14133 Differential Revision: D5767852 Pulled By: hramos fbshipit-source-id: 25af70db864a50cdc5e3765eccdeecd49c084d9a --- Libraries/Geolocation/Geolocation.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Libraries/Geolocation/Geolocation.js b/Libraries/Geolocation/Geolocation.js index 7efa7b9e8..2a68585ff 100644 --- a/Libraries/Geolocation/Geolocation.js +++ b/Libraries/Geolocation/Geolocation.js @@ -76,6 +76,12 @@ type GeoOptions = { * Android API >= 18 Positions will also contain a `mocked` boolean to indicate if position * was created from a mock provider. * + *

+ * Android API >= 23 Requires an additional step to check for, and request + * the ACCESS_FINE_LOCATION permission using + * the PermissionsAndroid API. + * Failure to do so may result in a hard crash. + *

*/ var Geolocation = {