fluttercommunity / fluttercommunity/flutter_webview_plugin

NSExceptionDomains flag is not working when i set NSAllowsArbitraryLoadsInWebContent as false

未关闭
#798 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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.

Screenshot 2020-08-11 at 5 11 29 PM

贡献指南

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

调研方向

首先,在 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

把新 issue 发到你的邮箱

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