react-native-geolocation-service
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "react-native-geolocation-service", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "React native geolocation service for iOS and android", | ||
@@ -5,0 +5,0 @@ "main": "js/index.js", |
@@ -95,2 +95,14 @@ # react-native-geolocation-service | ||
``` | ||
# API | ||
#### `getCurrentPosition(successCallback, errorCallback, options)` | ||
- **successCallback**: Invoked with latest location info. | ||
- **errorCallback**: Invoked whenever an error is encountered. | ||
- **options**: | ||
- timeout (ms) | ||
- maximumAge (ms) | ||
- enableHighAccuracy (bool) | ||
- distanceFilter (double) | ||
- showLocationDialog (whether to ask to enable location in Android) | ||
Checkout [React Native documentation](https://facebook.github.io/react-native/docs/geolocation.html#reference) to see the list of available methods. | ||
@@ -97,0 +109,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
190596
16
143