Skip to content

[Add2App] [iOS] Supports build Flutter module as a Framework? #25323

Closed

Description

@hnvn

I want to integrate my Flutter module into my existing app. I follow this link for a tutorial but it requires me to copy dart codes and assets into my existing project. That's not good. Is there any way to encapsulate my Flutter module as a Framework? and I can use that Framework without setting Flutter environment in my existing project.

Activity

  1. zoechi commented on Dec 13, 2018

    @zoechi
    Contributor

    Can you please elaborate on your project structure.
    Why do you think it requires you to copy Dart code?

  2. added
    engineflutter/engine related. See also e: labels.
    a: existing-appsIntegration with existing apps via the add-to-app flow
    on Dec 13, 2018
  3. added this to the milestone on Dec 13, 2018
  4. hnvn commented on Dec 13, 2018

    @hnvn
    Author

    What if I have a big team, in order to add Flutter module, all teammates have to setup Flutter environments in their computer. That's not good.

  5. zoechi commented on Dec 13, 2018

    @zoechi
    Contributor

    Sounds like a duplicate of #24948
    You even commented there.
    How is this issue different from #24948?

  6. hnvn commented on Dec 13, 2018

    @hnvn
    Author

    It's tricky and I still cannot get it working. It's good to have official support

  7. hnvn commented on Dec 14, 2018

    @hnvn
    Author

    I can get it working now. It takes two days to research. I think Flutter needs better document about this use case. I maybe write an article for it. But there's still a problem to be resolved, I still cannot build a universal framework.

  8. sdaduanbilei commented on Dec 25, 2018

    @sdaduanbilei

    Is there a demo, the idea is not to publish Flutter.framework and App.framework flutter_assets products through Pod, then the new project to get flutter business through pod install, can see your podspec file
    @hnvn

  9. github-actions commented on Aug 14, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  10. locked as resolved and limited conversation to collaborators on Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: existing-appsIntegration with existing apps via the add-to-app flowengineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions