Skip to content

Investigate devices not getting rotation property from expo-sensors #33

Description

@AlanSl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions