alibaba / alibaba/flutter_boost

原生跳Flutter 回调以及flutter测页面生命周期监测问题

Open
#829 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 源码 , 想要 知道这两个 功能现在能实现么 ?感谢各位大佬。
1 .
```
Intent intent = BoostFlutterActivity.withNewEngine().url(pageName.get(path)).params(params)
.backgroundMode(BoostFlutterActivity.BackgroundMode.opaque).build(context);
```
这段代码跳flutter 的时候, 如果不知道 context 是哪个 Activity , 有办法监听到 flutter侧 pop 时候的回调数据么 ?

2. Flutter 侧 , 页面 能否监听 到onResume 和 onPage 的 生命周期?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the BoostFlutterActivity.withNewEngine().url(...).params(...).build(context) entry point and trace the native-to-Flutter navigation and pop path. Then inspect the Flutter-side lifecycle integration points; done means documenting whether both requested callbacks are supported and identifying the relevant integration points or limitations.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart, flutter
Domain
api, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.