webview_completion_fix 0.0.1 copy "webview_completion_fix: ^0.0.1" to clipboard
webview_completion_fix: ^0.0.1 copied to clipboard

PlatformiOS

Fixes iOS WebView crashes (NSInternalInconsistencyException) caused by uncalled completion handlers in WKWebView navigation delegate methods.

0.0.1 #

  • Initial release
  • Fixes iOS WebView hanging and crashes caused by uncalled completion handlers in WKWebView navigation delegate methods (addresses flutter/flutter#102476)
  • Automatically detects and swizzles webview_flutter_wkwebview.NavigationDelegateImpl or FWFNavigationDelegate methods
  • Tracks and invokes missed completion handlers for:
    • didReceiveAuthenticationChallenge:completionHandler:
    • decidePolicyForNavigationAction:decisionHandler:
    • decidePolicyForNavigationResponse:decisionHandler:
  • Supports optional logging via WCFEnableLogging Info.plist configuration
  • Compatible with webview_flutter ^4.2.3
2
likes
140
points
925
downloads

Documentation

API reference

Publisher

verified publisherfullstackaction.com

Weekly Downloads

Fixes iOS WebView crashes (NSInternalInconsistencyException) caused by uncalled completion handlers in WKWebView navigation delegate methods.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter, plugin_platform_interface, webview_flutter

More

Packages that depend on webview_completion_fix

Packages that implement webview_completion_fix