Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flutter windows cookies not working #2093

Closed
selvam920 opened this issue Apr 7, 2024 · 8 comments
Closed

flutter windows cookies not working #2093

selvam920 opened this issue Apr 7, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@selvam920
Copy link

after submit login it's again redirected to login instead of homepage, seems the cookies are not working

[WindowsInAppWebViewController] (windows) WebView ID 2503702453472 calling "onReceivedError" using {error: {description: Indicates that the operation was canceled., type: 14}, request: {headers: {Content-Type: application/x-www-form-urlencoded, Origin: https://sms.tccl.co.in, Upgrade-Insecure-Requests: 1, User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0, sec-ch-ua: "Microsoft Edge";v="123", "Not:A-Brand";v="8", "Chromium";v="123", "Microsoft Edge WebView2";v="123", sec-ch-ua-mobile: ?0, sec-ch-ua-platform: "Windows"}, isForMainFrame: true, method: null, url: https://sms.tccl.co.in/index.php/lco_portal/}}

@selvam920 selvam920 added the bug Something isn't working label Apr 7, 2024
Copy link

github-actions bot commented Apr 7, 2024

👋 @selvam920

NOTE: This comment is auto-generated.

Are you sure you have already searched for the same problem?

Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem!

If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue.

In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding android WebView [MY ERROR HERE] or ios WKWebView [MY ERROR HERE] keywords.

Following these steps can save you, me, and other people a lot of time, thanks!

@aliazxs
Copy link

aliazxs commented Jun 10, 2024

same issue

@selvam920
Copy link
Author

No one supporting this issue

@selvam920
Copy link
Author

can you support this issue?

@selvam920
Copy link
Author

it's working when i comment the lines in in_app_webview.cpp file line no from 219 to 346 (webView->add_NavigationStarting)

@pichillilorenzo
Copy link
Owner

It should work with the latest version 6.1.3 published now.

@selvam920
Copy link
Author

InAppWebView used in page1
in page 2 when i click button page1 will display.
the below url used cookies to login, once logged in after 10 min will logout.
https://sms.tccl.co.in/index.php/lco_portal/

everytime when i open page 1, it's asking the login page.
this issue only in Windows platform, in android everything is working fine.

Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants