Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including expo-sensors-interface with all npm packages installed. Try it out:

var expoSensorsInterface = require("expo-sensors-interface")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

expo-sensors-interface v3.0.0

An interface for expo-sensors.


An interface for expo-sensors.


This package is pre-installed in managed 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 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.

pod 'EXSensorsInterface', path: '../node_modules/expo-sensors-interface/ios'

Configure for Android

  1. Append the following lines to android/settings.gradle:
include ':expo-sensors-interface'
project(':expo-sensors-interface').projectDir = new File(rootProject.projectDir, '../node_modules/expo-sensors-interface/android')
  1. Insert the following lines inside the dependencies block in android/app/build.gradle:
api project(':expo-sensors-interface')


Contributions are very welcome! Please refer to guidelines described in the contributing guide.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free