-
Notifications
You must be signed in to change notification settings - Fork 30.4k
Support deferred components (On-demand Resources) on iOS #79327
Copy link
Copy link
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Type
Fields
Give feedbackNo fields configured for issues without a type.
Deferred components was implemented for Android in #57617. We should support similar functionality on iOS.
Deferred components allows AOT dart code and assets to be downloaded and installed at runtime. See go/deferred-components-instructions
We can make use of App store's On-demand resources https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/On_Demand_Resources_Guide/index.html
This work would require supporting the engine platform view deferred components API in the iOS embedder and tooling to read and package the assets/.so files in an on-demand resource.
It would be interesting to find out of custom implementations are something that enterprise customers desire, as iOS is more closed than Android and all distribution occurs via the App store.