Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-geolocation-service

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-geolocation-service - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

CHANGELOG.md

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc