alibaba / alibaba/flutter_boost
Android在native页面,使用flutter_boost打开一个带有platformview的页面,切到后台。3秒后页面自动关闭。fd数会持续增加的bug
- Dominant language
- Dart
- Stars
- 7.2k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
## 复现步骤
demo1:使用boost打开页面。下面是demo1.zip中的是几个主要类
[demo1.zip](https://github.com/alibaba/flutter_boost/files/5167710/demo1.zip)
demo2:不使用boost打开页面。
1. 使用demo1,在前台,点击打开带有platformview的页面,3秒后自动返回,多次操作后,在log中,可以看到fd无变化。
2. 使用demo1,在前台,点击打开带有platformview的页面,切到后台,3秒后回到前台,多次操作后,在log中,可以看到fd呈现增长趋势。
3. 使用demo2,在前台,点击打开带有platformview的页面,切到后台,3秒后回到前台,多次操作后,在log中,可以看到fd无无变化。
**Flutter Boost Version**:1.9.1
**Target Platform:**:Android
**Target OS version/browser:**:8.1、8.0
**Devices:** OPPO
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by downloading demo1.zip and reproducing the file-descriptor behavior with demo1 and demo2 on Android 8.0 or 8.1, following the listed foreground/background steps. Compare the logs after repeated platform-view page opens and returns; done means the demo1 flow no longer shows a growing file-descriptor count after backgrounding and returning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, dart, flutter
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100