Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[webview_flutter_wkwebview] Fixes crash with nil WKFrameInfo.request #8766

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

bparrishMines
Copy link
Contributor

@bparrishMines bparrishMines commented Feb 28, 2025

I manually verified with the example provided in the issue below that the WKFrameInfo.request also returns nil with the old Objective-C implementation. This crash seems to be caused by the Swift code crashing when it encounters a nil value that should be nonnull.

Fixes flutter/flutter#163549

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@bparrishMines bparrishMines changed the title fix [webview_flutter_wkwebview] Fixes crash with nil WKFrameInfo.request Feb 28, 2025
@bparrishMines bparrishMines marked this pull request as ready for review February 28, 2025 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[webview_flutter] iOS Camera Access Causes App Crash
1 participant