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 not being set on iOS emulator #38

Open
DanielJaramillo94 opened this issue Mar 12, 2021 · 14 comments
Open

Cookies not being set on iOS emulator #38

DanielJaramillo94 opened this issue Mar 12, 2021 · 14 comments

Comments

@DanielJaramillo94
Copy link

Emulating on iPhone 12 Pro Max

System info
System Version: macOS 11.2.1 (20D74)
Kernel Version: Darwin 20.3.0

Flutter info
Flutter (Channel stable, 1.22.5, on macOS 11.2.1 20D74 darwin-x64, locale es-419)

Xcode info
Xcode 12.4
Build version 12D4e

@angel-r
Copy link

angel-r commented Mar 31, 2021

@DanielJaramillo94 It didn't work on a real device either, did you find a solution?

@DanielJaramillo94
Copy link
Author

For me is working on real devices, I tested on a XS Max and on a tablet wich model I don't remember right now 🤔

@fryette
Copy link
Owner

fryette commented Apr 4, 2021

@DanielJaramillo94 please check the latest version example.
If it still not working we need to investigate it

@kaushik072
Copy link

Please, Provide any workaround or suggestion to help in this problem.

@Ahmadre
Copy link

Ahmadre commented Sep 13, 2021

Same here. Not working on Real IPhone 11 Pro.

Already used the example code.

Nothing will help to get it working for iOS.

@Ahmadre
Copy link

Ahmadre commented Sep 13, 2021

@fryette

@fryette
Copy link
Owner

fryette commented Sep 13, 2021

Unfortunately, I really don't have time to continue to support it.
But feel free to open a requests.

@cristipaval
Copy link

cristipaval commented Jan 6, 2022

It happened to me on a real device as well. It was working on Android but not on iOS.
Works now after changing the domain format on the cookie. Instead of setting https://my-domain.com/ as the domain on the cookie, I set it simply my-domain.com (no https:// suffix) and now works on both Android and iOS.

@nguyenleanhkhoa
Copy link

can't get cookie in ios simulator and real device , any idea for this issue ?

@DevanshiGor
Copy link

Cookies not set on SImulator & Real device. Please suggest some workaround.

@fedale
Copy link

fedale commented Mar 31, 2022

I can confirm that cookies don't work in iOS real device and simulator.... :/

@stevenspiel
Copy link

Shouldn't you just be able to use WebView(initialCookies: ...)? Reading the cookies is working fine.

@RedBencity
Copy link

It happened to me on a real device as well. It was working on Android but not on iOS. Works now after changing the domain format on the cookie. Instead of setting https://my-domain.com/ as the domain on the cookie, I set it simply my-domain.com (no https:// suffix) and now works on both Android and iOS.

it is work in iOS ! Good!!

@omi-jrparreno
Copy link

It happened to me on a real device as well. It was working on Android but not on iOS. Works now after changing the domain format on the cookie. Instead of setting https://my-domain.com/ as the domain on the cookie, I set it simply my-domain.com (no https:// suffix) and now works on both Android and iOS.

its working now thanks! you save my life!

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

No branches or pull requests