Feature Summary
Support selection of specific android sensor type
Detailed Description
Hey, first of all I want to thank you for creating this library! :)
My feature request is pretty straight forward: I read about androids sensor types and found out that there's a SENSOR_TYPE_GAME_ROTATION_VECTOR which acts pretty much the same as the SENSOR_TYPE_ROTATION_VECTOR but with the difference that it doesn't use the magnetometer to reduce wrong values caused by electromagnetic issues.
Potential Benefits
Less value issues caused by electromagnetic fields, because it doesn't use the magnetometer.
Possible Solutions
As far as I resarched: It should respond with the same values as the current SensorEvent. So you should only have to create an enum and make it selectable.
Docs: https://source.android.com/docs/core/interaction/sensors/sensor-types#game_rotation_vector
Alternatives Considered
No response
Additional Context
I can try to create a PR for that, but I'm not very familiar with flutter plugin development, so I would highly apprecicate this feature!
Preliminary Checks
Feature Summary
Support selection of specific android sensor type
Detailed Description
Hey, first of all I want to thank you for creating this library! :)
My feature request is pretty straight forward: I read about androids sensor types and found out that there's a
SENSOR_TYPE_GAME_ROTATION_VECTORwhich acts pretty much the same as theSENSOR_TYPE_ROTATION_VECTORbut with the difference that it doesn't use the magnetometer to reduce wrong values caused by electromagnetic issues.Potential Benefits
Less value issues caused by electromagnetic fields, because it doesn't use the magnetometer.
Possible Solutions
As far as I resarched: It should respond with the same values as the current SensorEvent. So you should only have to create an enum and make it selectable.
Docs: https://source.android.com/docs/core/interaction/sensors/sensor-types#game_rotation_vector
Alternatives Considered
No response
Additional Context
I can try to create a PR for that, but I'm not very familiar with flutter plugin development, so I would highly apprecicate this feature!
Preliminary Checks