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 5.1.1 to 5.2.0

6

CHANGELOG.md
# Changelog
### 5.2.0 (February 2, 2021)
- Android: fix location request on airplane mode
- iOS: add ability to configure showsBackgroundLocationIndicator
- iOS: fix location delay in getCurrentPosition method
- iOS: add `reduced` as an accuracy option
### 5.1.1 (November 28, 2020)

@@ -4,0 +10,0 @@ - Fix iOS `pod install` issue.

1

docs/accuracy.md

@@ -24,1 +24,2 @@ # Accuracy Level

| threeKilometers | Accurate to the nearest three kilometers. |
| reduced | Used when an app does not need accurate location data. |

4

index.d.ts

@@ -12,3 +12,4 @@ declare module 'react-native-geolocation-service' {

| 'kilometer'
| 'threeKilometers';
| 'threeKilometers'
| 'reduced';

@@ -41,2 +42,3 @@ export type AccuracyAndroid =

useSignificantChanges?: boolean
showsBackgroundLocationIndicator?: boolean
}

@@ -43,0 +45,0 @@

{
"name": "react-native-geolocation-service",
"version": "5.1.1",
"version": "5.2.0",
"description": "React native geolocation service for iOS and android",

@@ -5,0 +5,0 @@ "main": "js/index.js",

@@ -97,2 +97,3 @@ # react-native-geolocation-service

| useSignificantChanges | `bool` | false | Uses the battery-efficient native significant changes APIs to return locations. Locations will only be returned when the device detects a significant distance has been breached (iOS only)
| showsBackgroundLocationIndicator | `bool` | false | This setting enables a blue bar or a blue pill in the status bar on iOS. When the app moves to the background, the system uses this property to determine whether to change the status bar appearance to indicate that location services are in use. Users can tap the indicator to return to your app. (iOS only)

@@ -99,0 +100,0 @@ #### `clearWatch(watchId)`

Sorry, the diff of this file is not supported yet

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