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
CrossDeviceOrientation.Current.CurrentOrientation is reversed on some Android tablets. I guess this is because some tablets are in landscape mode by default. We could reproduce this with:
Sony Xperia Tablet Z2 (android 5.1.1)
Google pixel c (android 8.1.0)
Google Nexus 10 (android 5.1.1)
Samsung Galaxy Tab 4
I suspect there are many more devices with this problem. We could't reproduce it with emulators or any smartphone.
activity.WindowManager.DefaultDisplay.Rotation returns Rotation180 and is converted by your plugin to DeviceOrientations.PortraitFlipped but this is wrong.
activity.WindowManager.DefaultDisplay is deprecated since API Level 11, this should be replaced with a more recent solution
CrossDeviceOrientation.Current.CurrentOrientation
is reversed on some Android tablets. I guess this is because some tablets are in landscape mode by default. We could reproduce this with:I suspect there are many more devices with this problem. We could't reproduce it with emulators or any smartphone.
activity.Resources.Configuration.Orientation
returnsLandscape
activity.WindowManager.DefaultDisplay.Rotation
returnsRotation180
and is converted by your plugin toDeviceOrientations.PortraitFlipped
but this is wrong.activity.WindowManager.DefaultDisplay
is deprecated since API Level 11, this should be replaced with a more recent solutionprobably related to #10
The text was updated successfully, but these errors were encountered: