Skip to content
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

SystemChrome.setPreferredOrientations( [DeviceOrientation.portraitUp, DeviceOrientation.portraitDown]) .then((_) => runApp(new MyApp())); is not working properly #7

Closed
Parmendrakumar opened this issue Sep 24, 2019 · 4 comments

Comments

@Parmendrakumar
Copy link

Getting white screen on Mobile with
SystemChrome.setPreferredOrientations(
[DeviceOrientation.portraitUp, DeviceOrientation.portraitDown])
.then((_) => runApp(new MyApp()));

Its working fine with
runApp(new MyApp());

So, What is the use of
SystemChrome.setPreferredOrientations(
[DeviceOrientation.portraitUp, DeviceOrientation.portraitDown])
.then((_) => runApp(new MyApp()));

@mitesh77
Copy link
Owner

it's run all app in portrait mode, its nothing but the custom drawer is not working properly in landscape mode. so I use this method.

what mobile model, please give me the name of mobile?

@csbzy
Copy link

csbzy commented Sep 26, 2019

I test both Pixel XL and iPhone8 plus.
Only Getting white screen

@mitesh77
Copy link
Owner

I run again no issue found, please re-clon and check its. bro.

@Parmendrakumar
Copy link
Author

I have tested it on Master branch and its working fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants