'How can you enable cookies using Flutter's InAppWebView Widget
Hello I'm wondering how do you enable cookies using flutter's inAppWebView I can imagine that it's using the property 'initialData' of this same widget but I can't figure out how to make it work properly.
Using flutter_webview It's very easy you just need to use the property as follows:
WebView(
initialCookies: [
WebViewCookie(
name: cookieName,
value: cookieVal,
domain: cookieDomain,
path: cookiePath,
),
],
),
But using inAppWebView it doesn't seem as easy, I really appreaciate any help with this issue thank you in advance.
PS: The reason I need to use inAppWebView is because the url has to be parsed into an uri which is an action the normal WebView doesn't achieve as the initialUrl takes a String and the url I require has spaces that produces the webview to stay blank.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
