fluttercommunity / fluttercommunity/flutter_webview_plugin

access to cookie's read and write permissions

未关闭
#508 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature request
主要语言
Java
星标
1.5k
派生
938
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先跟踪插件的 getCookies() 和 evalJavascript() 入口点,以及 Android WebView 在登录期间如何处理 Cookie。重现报告的读取和写入失败,然后验证登录后可以检索 Cookie,并且它们会包含在后续的 HTTP 请求中。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, java
领域
authentication, mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。