Sensor Usage

Overview of device sensors utilized via Expo APIs.

Below are the available sensors accessed through the expo-sensors module. Please note these are mostly all supported in modern devices but may cause issues on commodity or old devices that do not have the appropriate sensors.

SensorDescription
AccelerometerMeasures acceleration along the x, y, and z axes. Useful for detecting motion or orientation.
GyroscopeMeasures the rate of rotation around the x, y, and z axes. Useful for detecting turns or spins.
MagnetometerMeasures magnetic field strength. Often used to compute compass headings.
BarometerMeasures atmospheric pressure. Can estimate altitude or detect elevation changes.
DeviceMotionProvides processed orientation and motion data by fusing accelerometer, gyroscope, and magnetometer.
PedometerCounts steps using motion data. iOS supported; Android support is limited.
LightSensorMeasures ambient light levels. Experimental and not supported on all devices.