Skip to content

Fix plugin activity handling for FlutterFragmentActivity hosts#386

Open
ET-TOUNANI wants to merge 4 commits intoAmolGangadhare:masterfrom
ET-TOUNANI:master
Open

Fix plugin activity handling for FlutterFragmentActivity hosts#386
ET-TOUNANI wants to merge 4 commits intoAmolGangadhare:masterfrom
ET-TOUNANI:master

Conversation

@ET-TOUNANI
Copy link
Copy Markdown

  • Avoid casting the hosting activity to FlutterActivity so the plugin works with FlutterFragmentActivity and other activity types.
  • Store the activity reference as Activity in setup and registration paths to prevent MissingPluginException when using the new embedding.
  • No functional behavior change beyond fixing plugin registration in FragmentActivity hosts.

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.

2 participants