fryette / webview_cookie_manager

MIT License
48 stars 52 forks source link

Cookies not being set on iOS emulator #38

Open DanielJaramillo94 opened 3 years ago

DanielJaramillo94 commented 3 years ago

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 commented 3 years ago

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

DanielJaramillo94 commented 3 years ago

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 commented 3 years ago

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

kaushik072 commented 3 years ago

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

Ahmadre commented 3 years ago

Same here. Not working on Real IPhone 11 Pro.

Already used the example code.

Nothing will help to get it working for iOS.

Ahmadre commented 3 years ago

@fryette

fryette commented 3 years ago

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

cristipaval commented 2 years ago

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 commented 2 years ago

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

DevanshiGor commented 2 years ago

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

fedale commented 2 years ago

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

stevenspiel commented 2 years ago

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

RedBencity commented 2 years ago

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 commented 8 months ago

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!