Skip to content

webview_flutter_wkwebview-v3.26.2

@Xelorium Xelorium tagged this 29 Sep 19:14
## Description

Regenerates `webview_flutter_wkwebview` with pigeon `29.0.2`, which contains the Swift generator fix from https://github.com/flutter/packages/pull/12531.

The generated `WKNavigationDelegate.didReceiveAuthenticationChallenge` reply handler now treats `NSNull` as a null reply, so a response the native `PigeonInstanceManager` can no longer resolve reports a `null-error` instead of force-casting and aborting the process:

```
Could not cast value of type 'NSNull' (0x...) to 'webview_flutter_wkwebview.AuthenticationChallengeResponse' (0x...).
```

The diff is large because the package was last generated with `27.3.2`, so it also picks up the `28.x`/`29.x` generator changes; no hand-written code needed updating.

## Verification

* `flutter analyze` is clean.
* All 154 unit tests pass.
* The iOS example builds for the simulator.
* The `NSNull` check is present at the `AuthenticationChallengeResponse` call site in the regenerated `WebKitLibrary.g.swift`.

*Fixes https://github.com/flutter/flutter/issues/191254*

## Pre-Review Checklist
Assets 2
Loading