You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Accelerometer work good on android, NOT working on iOS.
const subscription = accelerometer
.pipe(map(({ x, y, z }) => x + y + z), filter(speed => speed > 20))
.subscribe(
speed => console.log(`You moved your phone with ${speed}`),
error => {
console.log("The sensor is not available");
}
);
Desktop (please complete the following information):
React Native: 0.73.5
Device: iphone xs max, ios 17.4.1
react-native-sensors: 7.3.6
Anyone have workaround ?
The text was updated successfully, but these errors were encountered:
Describe the bug
Accelerometer work good on android, NOT working on iOS.
Desktop (please complete the following information):
Anyone have workaround ?
The text was updated successfully, but these errors were encountered: