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

Cookies are not working for some urls #573

Closed
5 tasks done
rahuldev91 opened this issue Oct 29, 2020 · 2 comments
Closed
5 tasks done

Cookies are not working for some urls #573

rahuldev91 opened this issue Oct 29, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@rahuldev91
Copy link

rahuldev91 commented Oct 29, 2020

Environment

Technology Version
Flutter version 1.22.0
Plugin version 4.0.0+4
Android version 29
iOS version 14
Xcode version 12.0.2

Device information:

Description

if I use on our master server all cookies are working is properly.
if I switch to the production server cookies are not setting.

Expected behavior:
Cookies should work for all URLs,
if it's failing at least it should give logs

CookieManager cookieManager = CookieManager.instance();
 await cookieManager.deleteAllCookies();
 
cookieManager.setCookie(
     url: url,
     name: platfrom ,
     value: Platform.operatingSystem,
   );

cookieManager.setCookie(
     url: url,
     name: app_version ,
     value: 2.1.3,
   );

I am checking in

onLoadStop: (InAppWebViewController controller, String url) async {
        debugPrint("page load stop $url");
        debugPrint("cookies " +
            await controller.evaluateJavascript(source: "document.cookie"));
      }

How to debug this issue.

@rahuldev91 rahuldev91 added the bug Something isn't working label Oct 29, 2020
@rahuldev91
Copy link
Author

@pichillilorenzo need your help ..

Copy link

github-actions bot commented Nov 8, 2024

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 Nov 8, 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

1 participant