fluttercommunity / fluttercommunity/flutter_webview_plugin

access to cookie's read and write permissions

Open
#508 1 comment 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

is there any setting that enable cookie control in webview,like: [how-to-enable-cookies/chrome](https://www.whatismybrowser.com/guides/how-to-enable-cookies/chrome)
```
flutterWebviewPlugin.getCookies().then((m) {
print(m);
print(m['userId']);
flutterWebviewPlugin.evalJavascript('alert(1111111111)');
});

I/flutter ( 4417): {"cdfee2bc454453d63caeaa3b169ad31e966c: eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NjU4NDIzNjYsInN1YiI6IjBjMDAwOWVjZjA3ZTI2NjQuNTk4MzQ4MjQ3OTgtg45t4g5yMjE5YTVmZry4576mYyYl8xNTY1ODQyMzY2MDgxIiwianRpIjoiMTU2NTg0MjM2NjA4MSIsImV4cCI6MTU2NjEwMTU2Nn0.iyCKOQGO6sYWpgKDtJmu8KNg5Va1H9_VHxfbwCe4_t0, userId: 0c0009ec45g45h3459981"}
I/flutter ( 4417): null
```
I can not write or read cookie in webview,my web needs to login and then write cookit in other http reuqests

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.