alibaba / alibaba/flutter_boost
iOS平台生命周期不完整
- Dominant language
- Dart
- Stars
- 7.2k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
iOS 从后台进入前台的流程不只是onForeground,还有DidBecomeActive,等同于flutter原生AppLifecycleState 的resumed状态。
onForeground只是代表APP从后台进入前台,但是这时APP还没完全恢复可用的状态,在处理一些逻辑时,比如渲染会导致APP闪退,必须放在程序重新激活后(DidBecomeActive)进行处理。
希望能够针对iOS平台添加完整的生命周期回调,谢谢
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the iOS lifecycle handling for onForeground and compare it with Flutter's AppLifecycleState.resumed and the native DidBecomeActive event. Determine the callback surface needed to expose the complete lifecycle, then verify that activation-sensitive work can use the new callback without changing the existing foreground behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter, ios
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100