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

Support Flutter add-to-library #39027

Open
Oklahomawhore opened this issue Aug 22, 2019 · 4 comments
Open

Support Flutter add-to-library #39027

Oklahomawhore opened this issue Aug 22, 2019 · 4 comments
Labels
a: existing-apps Integration with existing apps via the add-to-app flow c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter d: api docs Issues with https://api.flutter.dev/ engine flutter/engine repository. See also e: labels. P3 Issues that are less important to the Flutter project team-engine Owned by Engine team triaged-engine Triaged by Engine team

Comments

@Oklahomawhore
Copy link

Use case

Now I have a iOS framework to be used within other apps to integrate account and use center
features. Since we have framework on both iOS and android, I want to use flutter to write some
new pages proposed.

Proposal

Now how add-to-app works is that flutter has to depend on iOS or android Lifecycles if I am correct, so in a iOS framework we have no access to host app's appDelegate or that would be additional work for our framework users. So I wonder is there a solution for that, Thank you very much and wish flutter best and cheer for the flutter team.

@jmagman
Copy link
Member

jmagman commented Aug 22, 2019

@xster

@xster xster added the a: existing-apps Integration with existing apps via the add-to-app flow label Aug 23, 2019
@xster
Copy link
Member

xster commented Aug 23, 2019

It's a pretty valid use case. I think we'll have to solve the general problem of merging multiple libraries and modularizing the library further first.

Something we can plan for in phase 2+

@kf6gpe kf6gpe added this to the December 2019 (Add-to-App) milestone Aug 29, 2019
@xster xster changed the title Does flutter support add-to-framework Support Flutter add-to-library Sep 4, 2019
@xster
Copy link
Member

xster commented Sep 4, 2019

I'm repurposing this to a general add-to-library feature request

@jmagman
Copy link
Member

jmagman commented Dec 19, 2019

Copying from #35262 (comment) where CocoaPods was specifically mentioned:

If you're willing to use CocoaPods, you could try to use flutter build ios-framework to generate all the Release frameworks you need, then supply them as vendored_frameworks. Of course that means you would need to host those binaries somewhere remotely, as you mentioned, where your users could fetch them by pod 'Your-Framework' in their Podfile.

Once #26712 is done, you would only need to vend the App.framework and any plugins, and your podspec would depend on the exact version of the Flutter pod they were built with.

s.dependency 'Flutter', '1.12.1306'

Pretty much ditto to support Carthage once #24176 is done.

@jmagman jmagman added the c: proposal A detailed proposal for a change to Flutter label Jan 3, 2020
@jmagman jmagman added this to Engineer Reviewed in Add-to-app - proposals review Jan 9, 2020
@jmagman jmagman moved this from Engineer reviewed to Reviewed in Add-to-app - proposals review Jan 9, 2020
@jmagman jmagman added this to Awaiting triage in Mobile - documentation review via automation Mar 10, 2020
@xster xster moved this from Awaiting triage to Engineer reviewed in Mobile - documentation review Oct 19, 2020
@darshankawar darshankawar added the framework flutter/packages/flutter repository. See also f: labels. label Jan 19, 2022
@goderbauer goderbauer added engine flutter/engine repository. See also e: labels. and removed framework flutter/packages/flutter repository. See also f: labels. labels Jan 17, 2023
@chinmaygarde chinmaygarde added the P1 High-priority issues at the top of the work list label Jan 23, 2023
@chinmaygarde chinmaygarde added P3 Issues that are less important to the Flutter project and removed P1 High-priority issues at the top of the work list labels Jan 23, 2023
@flutter-triage-bot flutter-triage-bot bot added the d: api docs Issues with https://api.flutter.dev/ label Jul 5, 2023
@flutter-triage-bot flutter-triage-bot bot added team-engine Owned by Engine team triaged-engine Triaged by Engine team labels Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: existing-apps Integration with existing apps via the add-to-app flow c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter d: api docs Issues with https://api.flutter.dev/ engine flutter/engine repository. See also e: labels. P3 Issues that are less important to the Flutter project team-engine Owned by Engine team triaged-engine Triaged by Engine team
Projects
Mobile - documentation review
  
Engineer reviewed
Add-to-app - proposals review
  
Engineer reviewed
Development

No branches or pull requests

8 participants