-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 tutorial on sharing data between Android/iOS and embedded Flutter #9363
Comments
There are various third parties who have tried: Even just picking one and linking to it, would probably be worth it, given that (at least in my experience) (especially "late majority") users tend to expect things from the official sources. 🤷 |
Hi @eseidel But I wonder if this should be transferred to website repository? (as in the end, the tutorial will be published to the website and the team there will take care of this) |
Please feel free to transfer wherever is appropriate. I recall we used to keep all bugs in one single repo, but please use whatever the modern patterns are. :) |
Thanks for the response. Transferring this issue to website repo. |
@leighajarett : Do we have anything in the pipeline for this? |
I don't specifically but I'm sure we can adapt the app extension stuff because its a similar mechanism https://docs.flutter.dev/platform-integration/ios/app-extensions |
Thanks for the consideration. My interest here is simply in aligning what is documented with the frequency of the user journey. From my experience (at least since leaving Google) most customers are adding a little Flutter to some existing app, the fact that that "golden path" (at least the data sharing portion) isn't documented was surprising/concerning. (We actually commonly get outreach from customers who are considering moving their native app to Flutter now that code push is a possibility.) Obviously you should validate with your own experience/numbers, it's possible the subset of customers we talk to at Shorebird is different from those the Google team is in contact with. 🤷 |
Yeah totally. Thanks for the feedback, @eseidel! Happy to help you with this, @atsansone. But I don't think I have the bandwidth to write myself in the next few weeks |
@leighajarett : I'll set up a meet soon. Thanks! |
Is there an existing issue for this?
Use case
Users often come to us (Shorebird) and previously me in my role as Flutter director, confused as to how to share data between their add-to-app Flutter and their existing app.
Proposal
There appears to be an old example on this, "books":
https://github.com/flutter/samples/tree/master_archived/add_to_app
But I don't see something similar in the modern examples:
https://github.com/flutter/samples/
There is a whole guide on adding a little Android to your Flutter:
https://docs.flutter.dev/platform-integration/platform-channels
But there is no mention of going the other way. Even in the add-to-app tutorial:
The closest we get is:
https://docs.flutter.dev/add-to-app/android/plugin-setup
The basic question is "I have some data in my Android app, I'm adding a Flutter screen, how do I share data with that screen". Given that all of the top most used Flutter apps are add-to-app (or were last I knew) this feels worth documenting. :)
Then again, given the presence of the (archived) "books" sample, maybe I'm just looking in the wrong place?
FYI @RedBrogdon
Thank you!
The text was updated successfully, but these errors were encountered: