I'm trying to build an app which is landscape only oriented, and a weird issue appeared.
When in LandscapeLeft the orientation built is sometimes LandscapeLeft, sometimes PortraitUp;
Device: iPhone 12 mini.
This is because when the device returns an unknown orientation, it defaults to portrait up. You can now change this by setting "defaultOrientation" to "NativeDeviceOrientation.landscapeLeft"
I'm trying to build an app which is landscape only oriented, and a weird issue appeared. When in LandscapeLeft the orientation built is sometimes LandscapeLeft, sometimes PortraitUp; Device: iPhone 12 mini.
Sample code:
Output: flutter: NativeDeviceOrientation.landscapeLeft flutter: NativeDeviceOrientation.portraitUp