alibaba / alibaba/flutter_boost
(该问题未完全修复)安卓app进入桌面,返回应用,动画区域会有不停地闪烁出现
- Dominant language
- Dart
- Stars
- 7.2k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
问题,见bug单
https://github.com/alibaba/flutter_boost/issues/1715
@0xZOne
我看还有一个场景,还会复现这个问题,没有完全修改。
**复现方式:**
前后台切换。
**原因,代码如下:**

```
最后运行到:
FlutterBoost.instance().getPlugin().onForeground();
然后:
changeFlutterAppLifecycle(FLUTTER_APP_STATE_RESUMED);
```
现象:
https://user-images.githubusercontent.com/9548501/195744241-0d39c050-64b3-487b-95f2-68c4b290b9de.mp4
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the linked issue #1715 and tracing the foreground transition described here, especially FlutterBoost.instance().getPlugin().onForeground() followed by changeFlutterAppLifecycle(FLUTTER_APP_STATE_RESUMED). Reproduce the Android background-to-foreground switch and compare it with the attached video; done means the animation area no longer flickers when returning to the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, dart
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100