Skip to content

Enable cookies in WebViews #3609

@doorlay

Description

@doorlay

Is your feature request related to a problem? Please describe.

I'd like to be able to grab cookies from an active WebView on all OSs.

Describe the solution you'd like

Adding a CookieManager object to manage cookies for a session. This would allow users to call GetCookiesAsync (or something of that sort) to retrieve cookies for a given URI, exposing them to the WebView.

Describe alternatives you've considered

No response

Additional context

MacOS docs: https://developer.apple.com/documentation/webkit/wkwebsitedatastore#overview
Linux docs: https://webkitgtk.org/reference/webkit2gtk/2.24.2/WebKitCookieManager.html
Microsoft docs: https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2cookiemanager?view=webview2-winrt-1.0.2478.35

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or requestawaiting feedbackMore information is required from the requestor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions