Some feature not working on android in release mode
Closed this issue · 1 comments
jkyeo commented
When I debug the flutter app, everything is ok. But when I run in release mode flutter run --release -d xxxxxx
, below feature is not work for me:
FlutterStatusbarManager.setStyle(StatusBarStyle.DARK_CONTENT);
FlutterStatusbarManager.setNavigationBarStyle(NavigationBarStyle.DARK);
Call the manager just in app build:
env:
- device: Google Pixel 2 XL running Android 9
- flutter doctor ouput:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.3 18D109, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.3)
[✓] VS Code (version 1.32.3)
[!] Proxy Configuration
! NO_PROXY is not set
[!] Connected device
! No devices available
jkyeo commented