-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android: Sensor returns correct orientation but onOrientationChanged(useSensor: true)
does not fire.
#32
Comments
onOrientationChange(useSensor: true)
does not fire.onOrientationChanged(useSensor: true)
does not fire.
Additional info,
|
I haven't been able to reproduce this. Closing unless I receive additional feedback. |
same issue on version 1.1.4, working on Samsung A53 but not working on Samsung S10+. NativeDeviceOrientationReader widget works. |
Can you give me a bit more information? Does it never call back at all on Samsung S10+ no matter which way you turn the device? Do you have auto-rotate enabled? Is the activity rotating or set to not rotate? |
Yes, never call back at all on Samsung S10+. This package works for me https://pub.dev/packages/device_orientation. I have some config below |
It appears
onOrientationChanged(useSensor: true)
does not fire an event when the sensor orientation changes. However, the correct orientation is reported when the sensor is read manually.This can be seen in android on the official example.
Any suggested workarounds? I may get around to fixing this myself, but I don't have time right now.
The text was updated successfully, but these errors were encountered: