alibaba / alibaba/flutter_boost

[Bug]: InAppWebView 加载异常(platformView集成显示异常)(必现)

Open
#2,161 25 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版本从3.16.9升级到3.24.5(升级到3.19.0,也是一样),
同样的代码,FlutterFragment 显示的 platformView 加载异常。
希望显示正常。

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

出现方式:
1、点击 open flutter fragment page
2、切换 tab
必现。

问题视频:
https://github.com/user-attachments/assets/3db5bae0-58dd-420a-9328-1ebfafce9370

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

flutter版本从3.16.9升级到3.24.5(升级到3.19.0,也是一样),

InAppWebView 加载的view,50%会加载异常,白屏或者是加载完成以后动不了

代码:
[example.zip](https://github.com/user-attachments/files/17955969/example.zip)

### 复现的平台

Both

### Flutter SDK版本

3.24.5

### FlutterBoost版本

5.0.1,5.0.2

### 是否延迟初始化FlutterBoost

No

### 解决方案

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the attached example.zip and reproduce on Flutter SDK 3.24.5 with FlutterBoost 5.0.1 or 5.0.2. Open the FlutterFragment page, switch tabs, and compare the InAppWebView platform view behavior with Flutter 3.16.9 on both platforms. Done means the view consistently displays and remains interactive instead of showing a blank or frozen 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
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.