sososdk/flutter_orientation

iOS always shows DeviceOrientation.landscapeLeft

Opened this issue · 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

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

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

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

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