alibaba / alibaba/flutter_boost
initState中添加监听事件白屏
Open
- Dominant language
- Dart
- Stars
- 7.2k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
///添加事件响应者,监听native发往flutter端的事件
removeListener = BoostChannel.instance.addEventListener("yourEventKey", (key, arguments) {
///deal with your event here
return;
});
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the white screen by registering BoostChannel.instance.addEventListener in initState as shown in the issue. Trace the initialization and event-listener path; done when the listener can be registered there without causing a white 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
- Needs clarification
- Newbie friendliness
- 25/100