Socket
Socket
Sign inDemoInstall

expo-sensors-interface

Package Overview
Dependencies
0
Maintainers
18
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 3.0.0

android/src/main/java/expo/interfaces/sensors/services/BarometerService.java

24

package.json
{
"name": "expo-sensors-interface",
"version": "2.0.0",
"description": "Expo interface package for Sensors",
"version": "3.0.0",
"description": "An interface for expo-sensors.",
"main": "index.js",

@@ -14,11 +14,19 @@ "keywords": [

"magnetometer",
"pedometer"
"pedometer",
"barometer"
],
"homepage": "https://docs.expo.io/",
"devDependencies": {
"expo-module-scripts": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/expo/expo.git"
},
"bugs": {
"url": "https://github.com/expo/expo/issues"
},
"author": "650 Industries, Inc.",
"license": "MIT",
"dependencies": {
"expo-core": "~2.0.0"
},
"gitHead": "f15abc53c111bd0438cd36dc456c59cfa7c56a58"
"homepage": "https://github.com/expo/expo/tree/master/packages/expo-sensors-interface",
"gitHead": "d87c47ba13c7dde7a5d120caf873c98258a42710"
}
# expo-sensors-interface
An interface for expo-sensors.
# Installation
This package is pre-installed in [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects. You may skip the rest of the installation guide if this applies to you.
For bare React Native projects, you must ensure that you have [installed and configured the `@unimodules/core` package](https://github.com/unimodules/core) before continuing.
### Add the package to your npm dependencies
```
npm install expo-sensors-interface
```
### Configure for iOS
Add the dependency to your `Podfile` and then run `pod install`.
```ruby
pod 'EXSensorsInterface', path: '../node_modules/expo-sensors-interface/ios'
```
### Configure for Android
1. Append the following lines to `android/settings.gradle`:
```gradle
include ':expo-sensors-interface'
project(':expo-sensors-interface').projectDir = new File(rootProject.projectDir, '../node_modules/expo-sensors-interface/android')
```
2. Insert the following lines inside the dependencies block in `android/app/build.gradle`:
```gradle
api project(':expo-sensors-interface')
```
# Contributing
Contributions are very welcome! Please refer to guidelines described in the [contributing guide]( https://github.com/expo/expo#contributing).

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

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc