alibaba / alibaba/flutter_boost

[Bug]: 解决鸿蒙3.22黑屏的问题

Open
#2,147 2 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

### 请描述遇到的问题,以及您所期望的正确的结果

FlutterPage({
viewId: this.flutterView!.getId(),
xComponentType: this.xComponentType,
xComponentColor:Color.Transparent///增加这句代码,要不然透明页面和打开时会出现黑屏
})

### 请说明如何操作会遇到上述问题

_No response_

### 在下面填入关键复现代码

```
```

### 复现的平台

Both

### Flutter SDK版本

3.22

### FlutterBoost版本

4.6.5

### 是否延迟初始化FlutterBoost

No

### 解决方案

Contributor guide

No contributing guide indexed for this repository

Research direction

Start from the FlutterPage entry point shown in the issue, focusing on xComponentColor and the transparent-page opening path. Reproduce the black screen on HarmonyOS 3.22 with FlutterBoost 4.6.5, then verify that opening the transparent page no longer produces a black screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
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.