Skip to content

Support enabling 3p cookies on a webview #125569

@jjliu15

Description

@jjliu15

Is there an existing issue for this?

Use case

We want to support enabling 3p cookies in a webview on android. This is important for the GMA Flutter plugin supporting ads monetization in a webview.

Proposal

In webview_flutter, add a new API WebViewCookieManager.setAcceptThirdPartyCookies(WebViewController, bool).

On Android this should call CookieManager.setAcceptThirdPartyCookies(webView, bool) on the underlying webview.

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterp: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions