website icon indicating copy to clipboard operation
website copied to clipboard

Proposal: Enhanced Integration of Flutter Modules into Existing iOS Applications

Open Madhan-Rkv-10 opened this issue 5 months ago • 1 comments

Page URL

https://docs.flutter.dev/add-to-app/ios/project-setup

Page source

No response

Describe the problem

Currently, Flutter’s add-to-app approach allows integrating Flutter modules into existing iOS and Android apps. While this works, I have identified some limitations in the iOS integration flow that could be improved:

The current approach exposes embedded Flutter frameworks in a way that may not meet security expectations for some production apps.

Integration requires manual Podfile configurations, which can be cumbersome and error-prone, especially for teams with multiple apps.

There’s no straightforward way to handle secure distribution of Flutter modules in CI/CD pipelines.

Expected fix

Introducing a more secure and modular way to integrate Flutter modules into existing iOS applications.

  • Reducing manual configuration steps required in the current Podfile-based integration.

  • Ensuring the new approach remains backward compatible with the existing add-to-app flow.

  • Making the integration process easier to automate in CI/CD pipelines.

I will work on a detailed proposal and plan to raise a PR once there is alignment with the Flutter team on the problem scope.

Additional context

No response

I would like to fix this problem.

  • [x] I will try and fix this problem on docs.flutter.dev.

Madhan-Rkv-10 avatar Aug 06 '25 02:08 Madhan-Rkv-10

@Madhan-Rkv-10, this seems (to me) to go beyond merely documentation and enter into s/w territory. @jmagman, thoughts?

sfshaza2 avatar Nov 03 '25 17:11 sfshaza2