Closed varunkumarmedam closed 4 years ago
As I know flutter_webview_plugin will be depricated soon or already. I would like to suggest to use webview_flutter.
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.
Could you please share code how you are trying to get cross-origin cookies with flutter_inappwebview?
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.
I really don't know how I can help here
Have you ever tried to get cross-origin cookies using this plugin..?!
@varunkumarmedam If you are talking about 'sameSite' value in the cookie, then you are right. For now, this value has not supported yet.
Yaa thanks for the verification.
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?
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.