-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
I used a communication plugin, hybrid_stack_manager, to ensure communication between native and flutter. When jumping from native iOS to FlutterViewController, sometimes the UI freezes. The tracer found that the code went to the ViewWillAppear method of flutterViewController but did not take the viewDidAppear method. Viewing the layer found that the flutterViewController layer is already on the window, but the previous layer has not fully launched the NavigationController. The page now displays the previous native page UI. When I press the home button to push the app to the background, then enter the app again and the UI for the flutter page is displayed. I have been looking for a long time and I am not sure what the problem is. Has anyone encountered such a problem? Can you share your solution? thank you very much!
Flutter Doctor
[✓] Flutter (Channel stable, v1.7.8, on Mac OS X 10.14.5 18F132, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
✗ Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
[✓] iOS tools - develop for iOS devices
[!] Android Studio (version 3.2)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.37.1)
[✓] Connected device (1 available)
! Doctor found issues in 2 categories.