fluttercommunity / fluttercommunity/flutter_webview_plugin
NSExceptionDomains flag is not working when i set NSAllowsArbitraryLoadsInWebContent as false
未关闭
- 主要语言
- Java
- 星标
- 1.5k
- 派生
- 936
- PR 合并指标
- 30 天内没有已合并 PR
描述
Issue occurs on: iOS >= 10.0
Plugin version: 0.3.11
I want to disable NSAllowsArbitraryLoadsInWebContent and allow only specific domains. But if i set NSAllowsArbitraryLoadsInWebContent = false then webview is not loading.
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先,在 iOS >= 10 上使用 plugin 版本 0.3.11,并设置 NSAllowsArbitraryLoadsInWebContent=false 和 NSExceptionDomains 允许列表,复现该问题。检查 plugin 的 iOS WebView 配置,并验证 WebView 只加载允许的域,而任意加载仍处于禁用状态。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- flutter, ios
- 领域
- mobile-dev
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100