flutter_orientation icon indicating copy to clipboard operation
flutter_orientation copied to clipboard

iOS always shows DeviceOrientation.landscapeLeft

Open aditya21 opened this issue 4 years ago • 3 comments

I have following code

subscription = OrientationHelper.onOrientationChange.listen((value) { print(value); });

It always shows DeviceOrientation.landscapeLeft. It is working as expected on Android.

Flutter 1.20.4 • Dart 2.9.2

aditya21 avatar Oct 23 '20 11:10 aditya21

It's works fine on my iphone iOS 13.7.

[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.7 19H2, locale zh-Hans-CN)
    • Flutter version 1.22.2 at /Users/chengshuai/fvm/versions/stable
    • Framework revision 84f3d28555 (10 days ago), 2020-10-15 16:26:19 -0700
    • Engine revision b8752bbfff
    • Dart version 2.10.2

sososdk avatar Oct 26 '20 03:10 sososdk

I upgraded flutter version still I am facing same problem on my iPhone 11 iOS 14.0.1.

Flutter 1.22.2 • channel stable • https://github.com/flutter/flutter.git Framework • revision 84f3d28555 (10 days ago) • 2020-10-15 16:26:19 -0700 Engine • revision b8752bbfff Tools • Dart 2.10.2

aditya21 avatar Oct 26 '20 10:10 aditya21

iPhone 7 Plus iOS 13.5.1 iPhone 11 Pro iOS 14.1 work well

Flutter 1.22.4 • channel stable • [email protected]:flutter/flutter.git
Framework • revision 1aafb3a8b9 (12 days ago) • 2020-11-13 09:59:28 -0800
Engine • revision 2c956a31c0
Tools • Dart 2.10.4

dan-leech avatar Nov 25 '20 14:11 dan-leech