You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support putting multiple Flutter bundles in a single APK/IPA #18185
@mehmetf Can you elaborate on why we need this? A single Flutter bundle should be able to handle all the views you'd want, if you specify initialRoute when creating each one.
@jason-simmons who is familiar with the discussions with mulligan.
Several motivators for this:
Being able to load a section of Dart code only meant to execute in the background. I would want that isolate to have a rather small memory footprint and not load my entire Dart app (including Flutter framework itself).
Have multiple isolates being able to load different bundles so we get proper isolation. With the workaround we currently suggest you would need to load the entire app into memory multiple times to achieve the same effect.
We will need to support loading Flutter bundles off the wire. It seems that this requirement falls naturally from that.
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.
Activity
mravn-google commentedon Jun 13, 2018
@mehmetf Can you elaborate on why we need this? A single Flutter bundle should be able to handle all the views you'd want, if you specify
initialRoutewhen creating each one.mehmetf commentedon Jun 13, 2018
@jason-simmons who is familiar with the discussions with mulligan.
Several motivators for this:
mehmetf commentedon Jul 19, 2018
I confirmed that customer: dream only needs to be able to dynamically load multiple apps. They don't care about multiple bundles in a single binary.
sbaranov commentedon Sep 6, 2018
I think this can be closed, since Flutter already supports dynamically loaded bundles.
mehmetf commentedon Sep 7, 2018
Sure. Let's close it.
We get customers asking for this from time to time but the workaround we describe using
initialRoutehas been sufficient for them.Manual roll of engine 7e205b3...3953c3c
Manual roll of engine 7e205b3...3953c3c
Manual roll of engine 7e205b3...3953c3c (#56677)
github-actions commentedon Sep 2, 2021
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 -vand a minimal reproduction of the issue.