Open ShiBa-Shin opened 3 years ago
Having same issue.
I decided to just not use the plugin after all. Just use SystemChrome.setEnabledSystemUIOverlays([])
to enable full screen and SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values)
to disable full screen.
Thank you @rafael-b-g!
The syntax has changed only slightly since then:
await SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky, overlays: []);
I've tested this plugin on Android 8, 9 and 10. It get the job done pretty well. But when I tried to run it on iOS simulator, the app crashes.
Here is the error info I got from console
Have I done something wrong?
Thanks for your efforts!