Skip to content

Add enableCookieApi flag to allow for WebView's on mobile support#1857

Open
KolbyML wants to merge 3 commits intoSuwayomi:masterfrom
KolbyML:add-cache-api
Open

Add enableCookieApi flag to allow for WebView's on mobile support#1857
KolbyML wants to merge 3 commits intoSuwayomi:masterfrom
KolbyML:add-cache-api

Conversation

@KolbyML
Copy link
Contributor

@KolbyML KolbyML commented Jan 14, 2026

This PR should be merged first

This PR makes it possible for 3rd party webview's can be used. This is required for mobile as kcef isn't supported on iOS or Android.

With this PR and my other one I can support webviews on mobile 🥳

This PR can be tested with

curl -X POST http://localhost:4567/api/v1/cookie   -H "Content-Type: application/json"   -d '{
    "userAgent": "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36",
    "cookies": [
      {
        "name": "cf_clearance",
        "value": "example_token_value_123",
        "domain": ".example.com",
        "path": "/",
        "secure": true,
        "httpOnly": true,
        "expiresAt": 1775000000000
      }
    ]
  }'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments