alibaba / alibaba/flutter_boost

[Bug]: release模式下,Android冷启动应用,设置根路由为flutter页面,第一个页面灰屏

Open
#1,956 6 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

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

release模式下,Android冷启动应用,设置根路由为flutter页面,第一个页面灰屏

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

android冷启动应用![image](https://github.com/alibaba/flutter_boost/assets/156059234/063bf6e9-1554-452e-a3bf-077c1fdba8c6)

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

'/': (settings, uniqueId) {
return CupertinoPageRoute(
settings: settings,
builder: (_) {
return SplashPage();
});
},

### 复现的平台

Android

### Flutter SDK版本

3.16.4

### FlutterBoost版本

5.0.1

### 是否延迟初始化FlutterBoost

No

### 解决方案

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing an Android cold start in release mode with the root route set to the shown Flutter page and FlutterBoost initialization enabled. Use the '/' route and SplashPage example as the entry point; done means the first Flutter page renders instead of showing a gray screen.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.