Skip to content

Unable to get HTTPOnly cookies iOS  #336

@fadhlisulaimi

Description

@fadhlisulaimi

I have an app that fetches cookies after user login to forum in webview. I am unable to fetch httponly cookies on iOS. It works perfectly in Android. When i look at the source code, document.cookie is injected. Perhaps it is not enough for iOS as it uses WKWebview? It seems Apple stores the cookies in NSHTTPCookieStorage.

Future<Map<String, dynamic>> getCookies()
final cookiesString = await evalJavascript("document.cookie");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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