
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
rnative-sensor-manager
Advanced tools
A react-native wrapper that allows you to use android and iOS native sensors
This package is a wrapper for using sensor native modules
npm install rnative-sensor-manager
This project is under development, you can find the roadmap in github projects.
| Platform | Pressure Sensor | Light Sensor | Orientation Sensor | Humidity Sensor | Proximity Sensor | Temperature Sensor | Magnetic Sensor | Step Sensor | Gravity Sensor |
|---|---|---|---|---|---|---|---|---|---|
| Android | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
| iOS | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
import SensorManager from "rnative-sensor-manager";
SensorManager.startOrientation(100);
DeviceEventEmitter.addListener("orientation", (data) => {
/**
* data.azimuth
* data.pitch
* data.roll
**/
});
SensorManager.stopOrientation();
import SensorManager from "rnative-sensor-manager";
SensorManager.startLight(100);
DeviceEventEmitter.addListener("light", (data) => {
/**
* data.lux
**/
});
SensorManager.stopLight();
import SensorManager from "rnative-sensor-manager";
SensorManager.startThermometer(100);
DeviceEventEmitter.addListener("temperature", (data) => {
/**
* data.temperature
**/
});
SensorManager.stopThermometer();
import SensorManager from "rnative-sensor-manager";
SensorManager.startProximity(100);
DeviceEventEmitter.addListener("proximity", (data) => {
/**
* data.proximity
**/
});
SensorManager.stopProximity();
import SensorManager from "rnative-sensor-manager";
SensorManager.startPressure(100);
DeviceEventEmitter.addListener("pressure", (data) => {
/**
* data.pressure
**/
});
SensorManager.stopPressure();
import SensorManager from "rnative-sensor-manager";
SensorManager.startHumidity(100);
DeviceEventEmitter.addListener("humidity", (data) => {
/**
* data.humidity
**/
});
SensorManager.stopHumidity();
react-native-sensor-manager has been a great source of inspiration for this project.FAQs
A react-native wrapper that allows you to use android and iOS native sensors
The npm package rnative-sensor-manager receives a total of 3 weekly downloads. As such, rnative-sensor-manager popularity was classified as not popular.
We found that rnative-sensor-manager demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.