fluttercommunity / fluttercommunity/flutter_webview_plugin
NSExceptionDomains flag is not working when i set NSAllowsArbitraryLoadsInWebContent as false
Open
- 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.
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