Paul Sturm
Paul Sturm
The problem here is that `FlutterEngine` does not clean up the old platform views in `_platformViewController` when it is hot-restarting: https://github.com/flutter/flutter/blob/ce659cda5e1cf0d0ea3138c657169cb57da257d8/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterEngine.mm#L1121-L1127 We can add a line at the end of...
PR submitted: https://github.com/flutter/flutter/pull/163439
Some of the comments here mention an error with "webview_flutter_wkwebview.AuthenticationChallengeResponse" in the message. That is possibly a separate issue. This issue and my PR address only the "recreating_view" error message....
> ios still face this issue , it can repreduce。 The reproducing code in this issue only runs on macOS. Can you post your code that reproduces this exception on...
There were two separate fixes, one for iOS and one for macOS. Both have been merged to main. They should be available in the next major Flutter release. macOS: https://github.com/flutter/flutter/issues/110381...
The fixes are in release 3.30.0-0.1.pre (the 3.30 beta release). They'll also be in the next major stable release, which will be presumably 3.31 or 3.32.
The underlying bug in Flutter was fixed in Flutter 3.30 (beta). It's not being backported to the 3.29 series. You have the option of using the latest Flutter beta, which...