fryette / webview_cookie_manager

MIT License
48 stars 52 forks source link

Cant set Cross-Origin Cookies #16

Closed varunkumarmedam closed 4 years ago

varunkumarmedam commented 4 years ago

When I tried this plugin along with flutter_webview_plugin it can't able to read or write cookies from the Cross-Origin site. But this works fine in webview_flutter and flutter_inappwebview plugins.

fryette commented 4 years ago

As I know flutter_webview_plugin will be depricated soon or already. I would like to suggest to use webview_flutter.

varunkumarmedam commented 4 years ago

Yaa I used this plugin with webview_flutter but can't able to get cross-origin cookies. But I am able to get cross-origin cookies when I used flutter_inappwebview for my app.

fryette commented 4 years ago

Could you please share code how you are trying to get cross-origin cookies with flutter_inappwebview?

varunkumarmedam commented 4 years ago

I added no extra code for using flutter_inappwebview, the plugin itself manages cross-origin cookies. More generally, Bloodline is my app which is built on flutter_inappwebview which manages cross-origin cookies which what I said earlier.

fryette commented 4 years ago

I really don't know how I can help here

varunkumarmedam commented 4 years ago

Have you ever tried to get cross-origin cookies using this plugin..?!

amarchenko25 commented 4 years ago

@varunkumarmedam If you are talking about 'sameSite' value in the cookie, then you are right. For now, this value has not supported yet.

varunkumarmedam commented 4 years ago

Yaa thanks for the verification.

your-diary commented 1 year ago

Any updates? I'm looking for a way to set SameSite=Strict cookie. Because Cookie class doesn't have sameSite field, is it still impossible? Does anyone have any workaround?