One NodeConf.eu 2023 participant had a Motorola phone running Android 9 where the object passed from expo-sensors DeviceMotion lacked a rotation property.
It did have rotationRate and a few other properties (IIRC they all related to relative changes in motion not current position). We tried using rotationRate in place of rotation (with a very different multiplier, like -0.2 or similar), but the game was almost unplayable: the ball responded to active device motions but not in an intuitive way.
We should see if this is a known issue in expo-sensors and consider what fallbacks we could offer.
One NodeConf.eu 2023 participant had a Motorola phone running Android 9 where the object passed from expo-sensors
DeviceMotionlacked arotationproperty.It did have
rotationRateand a few other properties (IIRC they all related to relative changes in motion not current position). We tried usingrotationRatein place ofrotation(with a very different multiplier, like-0.2or similar), but the game was almost unplayable: the ball responded to active device motions but not in an intuitive way.We should see if this is a known issue in expo-sensors and consider what fallbacks we could offer.