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

expo-location

Package Overview
Dependencies
Maintainers
24
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-location - npm Package Compare versions

Comparing version 9.0.0 to 9.0.1

6

build/ExpoLocation.web.js

@@ -105,3 +105,3 @@ import { PermissionStatus } from 'unimodules-permissions-interface';

return new Promise(resolve => {
// @ts-ignore
// @ts-ignore: the types here need to be fixed
watchId = global.navigator.geolocation.watchPosition(position => {

@@ -113,3 +113,5 @@ lastKnownPosition = geolocationPositionToJSON(position);

});
}, null, options);
}, undefined,
// @ts-ignore: the options object needs to be fixed
options);
resolve(watchId);

@@ -116,0 +118,0 @@ });

@@ -66,3 +66,4 @@ import { PermissionStatus } from 'unimodules-permissions-interface';

/**
* Deprecated as of SDK39
* @deprecated
* Deprecated as of SDK39 in favour of `setGoogleApiKey`.
*/

@@ -69,0 +70,0 @@ export declare function setApiKey(apiKey: string): void;

@@ -177,3 +177,4 @@ import { Platform } from '@unimodules/core';

/**
* Deprecated as of SDK39
* @deprecated
* Deprecated as of SDK39 in favour of `setGoogleApiKey`.
*/

@@ -180,0 +181,0 @@ export function setApiKey(apiKey) {

@@ -11,2 +11,8 @@ # Changelog

## 9.0.1 β€” 2020-10-02
### πŸ› Bug fixes
- Redeliver intent when restarting task service. ([#10410](https://github.com/expo/expo/pull/10410) by [@byCedric](https://github.com/byCedric))
## 9.0.0 β€” 2020-08-18

@@ -13,0 +19,0 @@

{
"name": "expo-location",
"version": "9.0.0",
"version": "9.0.1",
"description": "Allows reading geolocation information from the device. Your app can poll for the current location or subscribe to location update events.",

@@ -49,3 +49,3 @@ "main": "build/Location.js",

},
"gitHead": "2196cebae55bda181ccceadec809942f51ee9e39"
"gitHead": "5a8c4f45536501d219fdc12f4d93d5d139824622"
}

@@ -16,3 +16,3 @@ # expo-location

For bare React Native projects, you must ensure that you have [installed and configured the `react-native-unimodules` package](https://github.com/unimodules/react-native-unimodules) before continuing.
For bare React Native projects, you must ensure that you have [installed and configured the `react-native-unimodules` package](https://github.com/expo/expo/tree/master/packages/react-native-unimodules) before continuing.

@@ -19,0 +19,0 @@ ### Add the package to your npm dependencies

@@ -128,3 +128,3 @@ import { PermissionResponse, PermissionStatus } from 'unimodules-permissions-interface';

return new Promise<string>(resolve => {
// @ts-ignore
// @ts-ignore: the types here need to be fixed
watchId = global.navigator.geolocation.watchPosition(

@@ -138,3 +138,4 @@ position => {

},
null,
undefined,
// @ts-ignore: the options object needs to be fixed
options

@@ -141,0 +142,0 @@ );

@@ -253,3 +253,4 @@ import { Platform } from '@unimodules/core';

/**
* Deprecated as of SDK39
* @deprecated
* Deprecated as of SDK39 in favour of `setGoogleApiKey`.
*/

@@ -256,0 +257,0 @@ export function setApiKey(apiKey: string): void {

Sorry, the diff of this file is not supported yet

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