From 7695a55beffcd2aaddb2f69acd3a87ac014aecd6 Mon Sep 17 00:00:00 2001
From: Website Deployment Script react-native init
'NSLocationAlwaysUsageDescription' key in Info.plist and add location as
a background mode in the 'Capabilities' tab in Xcode.
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" />
Android API >= 18 Positions will also contain a mocked boolean to indicate if position
-was created from a mock provider.
Invokes the success callback once with the latest location info. Supported +was created from a mock provider.
Request suitable Location permission based on the key configured on pList. +If NSLocationAlwaysUsageDescription is set, it will request Always authorization, +although if NSLocationWhenInUseUsageDescription is set, it will request InUse +authorization.
Invokes the success callback once with the latest location info. Supported options: timeout (ms), maximumAge (ms), enableHighAccuracy (bool) On Android, if the location is cached this can return almost immediately, or it will request an update which might take a while.
Invokes the success callback whenever the location changes. Supported