Skip to content

Commit

Permalink
Reference PermissionsAndroid in Geolocation doc
Browse files Browse the repository at this point in the history
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 #14133

Differential Revision: D5767852

Pulled By: hramos

fbshipit-source-id: 25af70db864a50cdc5e3765eccdeecd49c084d9a
  • Loading branch information
TikiTDO authored and facebook-github-bot committed Sep 5, 2017
1 parent 4e2c084 commit 6180041
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Libraries/Geolocation/Geolocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
* <p>
* Android API >= 23 Requires an additional step to check for, and request
* the ACCESS_FINE_LOCATION permission using
* the <a href="https://facebook.github.io/react-native/docs/permissionsandroid.html" target="_blank">PermissionsAndroid API</a>.
* Failure to do so may result in a hard crash.
* </p>
*/
var Geolocation = {

Expand Down

0 comments on commit 6180041

Please sign in to comment.