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

"Add a Flutter Fragment to an Android app" but in Compose #11589

Open
1 task
paulocode opened this issue Jan 14, 2025 · 1 comment
Open
1 task

"Add a Flutter Fragment to an Android app" but in Compose #11589

paulocode opened this issue Jan 14, 2025 · 1 comment
Labels
e2-days Effort: < 5 days from.page-issue Reported in a reader-filed concern p2-medium Necessary but not urgent concern. Resolve when possible.

Comments

@paulocode
Copy link

paulocode commented Jan 14, 2025

Page URL

https://docs.flutter.dev/add-to-app/android/add-flutter-fragment/

Page source

https://github.com/flutter/website/tree/main/src/content/add-to-app/android/add-flutter-fragment.md

Describe the problem

Please update to also show an implementation with the host activity in Jetpack Compose.

I've tried using AndroidFragment composable but it does not expose the FlutterFragment instance so I can forward the lifecycle calls (onPostResume() etc.) noted on the same page.

Expected fix

Add an example for importing FlutterFragments in Jetpack Compose

Additional context

No response

I would like to fix this problem.

  • I will try and fix this problem on docs.flutter.dev.
@paulocode paulocode added the from.page-issue Reported in a reader-filed concern label Jan 14, 2025
@sfshaza2
Copy link
Contributor

@jwill, do you have any insight on this issue?

@sfshaza2 sfshaza2 added p2-medium Necessary but not urgent concern. Resolve when possible. e2-days Effort: < 5 days labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2-days Effort: < 5 days from.page-issue Reported in a reader-filed concern p2-medium Necessary but not urgent concern. Resolve when possible.
Projects
None yet
Development

No branches or pull requests

2 participants