alibaba / alibaba/flutter_boost

集成flutter_boost4.2.0后flutter代码运行黑屏

Open
#1,784 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
7.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

集成flutter_boost4.2.0,将你们demo中的main.dart及相应pages文件夹中内容拷贝进去,再运行出现黑屏,iOS原生跳转flutter页面没反应
Running Xcode build...
Xcode build done. 12.8s
Installing and launching...
Debug service listening on ws://127.0.0.1:54181/AKKpCn8jB9I=/ws
Syncing files to device iPhone 13...
flutter: FlutterBoost#page_visibility, #addGlobalObserver, Instance of 'AppLifecycleObserver'
flutter: FlutterBoost#boost_flutter_binding: handleAppLifecycleStateChanged AppLifecycleState.resumed
flutter: FlutterBoost#_restoreStackForHotRestart, null, null
flutter: FlutterBoost#_saveStackForHotRestart, [1673916374501_/], {1673916374501_/: Instance of 'FlutterContainer'}

![IMG_C388671CB5B0-1](https://user-images.githubusercontent.com/18587026/212788390-f6677b93-5cfa-421a-a52a-9031f6535e98.jpeg)
![截屏2023-01-17 10 34 50](https://user-images.githubusercontent.com/18587026/212797381-7dc081f0-eea7-499c-ad31-c6df60342789.png)

![Uploading IMG_C388671CB5B0-1.jpeg…]()

![Uploading 截屏2023-01-17 09.34.04.png…](
![截屏2023-01-17 09 30 13](https://user-images.githubusercontent.com/18587026/212790811-36e6a302-9ccb-414e-9530-a9311b129a14.png)
)
![截屏2023-01-17 09 37 48](https://user-images.githubusercontent.com/18587026/212790991-4063e846-c276-4a1d-b876-24a0b679bde8.png)

**Flutter Boost Version:4.2.0
**Target Platform:iOS
**Target OS version/browser:15.3.1
**Devices:iphone 13 pro

![企业微信截图_1e2904a5-ea88-4ffc-bda5-0cff7067d697](https://user-images.githubusercontent.com/18587026/212789816-d0ba1248-3cd6-4226-933d-9b9e1229d745.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by copying the demo main.dart and pages folder into a FlutterBoost 4.2.0 integration on iOS. Start with the reported Flutter and native-navigation logs, then compare the demo flow with the iOS setup shown in the attached screenshots. Done means the app renders Flutter content and native navigation opens the Flutter page instead of showing a black screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, ios
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.