From a3ab89f8675c26c4426247fb35161f432acee848 Mon Sep 17 00:00:00 2001
From: Travis CI
You need to include the NSLocationWhenInUseUsageDescription key
in Info.plist to enable geolocation. Geolocation is enabled by default
when you create a project with react-native init.
To request access to location, you need to add the following line to your
-app's AndroidManifest.xml:
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
Geolocation support for Android is planned but not yet open sourced. See -Known Issues.
Invokes the success callback once with the latest location info. Supported
+app's AndroidManifest.xml:
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
Invokes the success callback once with the latest location info. Supported options: timeout (ms), maximumAge (ms), enableHighAccuracy (bool)
Invokes the success callback whenever the location changes. Supported options: timeout (ms), maximumAge (ms), enableHighAccuracy (bool)