fluttercommunity / fluttercommunity/flutter_webview_plugin
Use native cookiemanager instead of JS
未关闭
- 主要语言
- Java
- 星标
- 1.5k
- 派生
- 936
- PR 合并指标
- 30 天内没有已合并 PR
描述
The JS document.cookie is a bad way of getting the cookies as we can not use it to get HttpOnly cookies such as most session cookies.
Seems one of those PR's might fix this:
https://github.com/fluttercommunity/flutter_webview_plugin/pull/608 (I have tested this, and it is working for me)
https://github.com/fluttercommunity/flutter_webview_plugin/pull/588 (might be missing iOS)
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先查看已链接的 pull request 608 和 588,然后比较 plugin 当前通过 JavaScript 读取 cookie 的方式与提议的原生 cookie-manager 方案。检查 Android 和 iOS 是否都已覆盖;当可以通过原生实现而不是 document.cookie 获取 HttpOnly cookie 时,这项工作就完成了。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- flutter, javascript
- 领域
- mobile
- Issue 类型
- 重构
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100