Proposal: Enhanced Integration of Flutter Modules into Existing iOS Applications
- Dominant language
- Dart
- Stars
- 3.1k
- Forks
- 3.5k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 95
Description
### 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 ](https://docs.flutter.dev/add-to-app/ios)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.
Contributor guide
Assessment
This issue has not been assessed yet.