fluttercommunity / fluttercommunity/flutter_webview_plugin

access to cookie's read and write permissions

Offen
#508 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature request
Vorherrschende Sprache
Java
Sterne
1.5k
Forks
938
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.