alibaba / alibaba/flutter_boost

混合开发如何设置第一个页面为 Flutter 页面

Open
#1,579 5 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

1.用 flutter create 命令新建一个项目
2.加入boost

问题
1. 如何让第一个页面为 FlutterBoostActivity
2. 物理退后按钮失效,点击之后直接退出应用,我发现这个问题,然后猜测应该要让 MainActivity 为 FlutterBoostActivity

谢谢

[flutter_boost-e19bf36cb451e2790edb65d353a643dbd472f8fa.zip](https://github.com/alibaba/flutter_boost/files/8040323/flutter_boost-e19bf36cb451e2790edb65d353a643dbd472f8fa.zip)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the attached flutter_boost reproduction archive and trace how the initial native Activity is configured, focusing on FlutterBoostActivity and MainActivity. Reproduce the startup and physical back-button behavior; done means the first page opens as a FlutterBoostActivity and the back button no longer exits the application unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart, flutter
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.