fluttercommunity / fluttercommunity/flutter_webview_plugin

NSExceptionDomains flag is not working when i set NSAllowsArbitraryLoadsInWebContent as false

Open
#798 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue on iOS >= 10 with plugin version 0.3.11, using NSAllowsArbitraryLoadsInWebContent=false and an NSExceptionDomains allowlist. Inspect the plugin's iOS WebView configuration and verify that the WebView loads only the allowed domains while arbitrary loads remain disabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter, ios
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.