fluttercommunity / fluttercommunity/flutter_webview_plugin
Callback to decide if a certain URL should be loaded
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 938
- PR merge metrics
- No merged PRs in 30d
Description
iOS has [webView:shouldStartLoadWithRequest:navigationType:](https://developer.apple.com/documentation/uikit/uiwebviewdelegate/1617945-webview?language=objc) which can be used to deny loading if you don't want to follow a URL.
One of the possible uses: This could be used to communicate some state from within the webview. You parse the request and deny loading so the current page stays the same.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked iOS webView:shouldStartLoadWithRequest:navigationType: delegate callback and the plugin's existing WebView communication entry points. Done means exposing a callback that can inspect a URL, deny its navigation, and leave the current page unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flutter, ios, objective-c
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100