Skip to content

Support deferred components (On-demand Resources) on iOS #79327

@GaryQian

Description

@GaryQian

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions