Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android]更新使用示例,修复bug #2148

Open
wants to merge 2 commits into
base: dev/exp
Choose a base branch
from

Conversation

joechan-cq
Copy link
Collaborator

修复使用FlutterBoostFragment作为容器,唤起Native页面后,无法从Native页面获取结果的BUG。

示例中一直使用的是FlutterBoost.instance().currentActivity()作为startActivityForResult的对象,这个导致如果是使用FlutterBoostFragment承载Flutter页面,唤起Native页面后,无法从Native页面获取到回传数据。因此使用示例中,将startActivityForResult的对象,改为优先使用当前的Container

修复使用FlutterBoostFragment作为容器,唤起Native页面后,无法从Native页面获取结果的BUG
@joechan-cq joechan-cq requested a review from imcjj November 12, 2024 01:32
@joechan-cq joechan-cq changed the title 更新使用示例,修复bug [Android]更新使用示例,修复bug Nov 12, 2024
@joechan-cq joechan-cq requested review from 0xZOne and removed request for imcjj November 19, 2024 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant