alibaba / alibaba/flutter_boost

[Bug]: flutter接入boost,打包没有生成业务flutter_module.har.

Open
#2,246 0 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项目通过flutter build har--debug 会生成 flutter.har和 flutter_module.har.
引入flutter_boost 4.6.5后,只生成flutter.har和 flutter_boost.har. 没有业务代码。
最终我是希望通过har引入flutter代码,而不是源码引入。我该如何解决问题?

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

_No response_

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

```
```flutter build har--debug

### 复现的平台

Both

### Flutter SDK版本

oh flutter 3.22.0

### FlutterBoost版本

4.6.5

### 是否延迟初始化FlutterBoost

No

### 解决方案

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `flutter build har --debug` with Flutter 3.22.0 and FlutterBoost 4.6.5, then compare the generated `flutter.har`, `flutter_boost.har`, and missing `flutter_module.har`. Done means the packaged output includes the business Flutter code in `flutter_module.har` when integrating FlutterBoost through HAR files.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.