Skip to content

[webview] [web] Support posting messages #101758

@stuartmorgan-g

Description

@stuartmorgan-g

Since the web implementation of webview_flutter is based on an iframe, we have significant limitations on functionality we can support. One substantial limitation is not being able to run arbitrary JavaScript in the webview.

To mitigate that limitation, we could add web-specific APIs to allow for communication via postMessage. This would only be useful in cases where the author of the application controls the content being loaded, but that is still an important subset of the use cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityp: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.platform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions