Skip to content

[Fix] Always call decisionHandler on webview navigationAction#43

Merged
NuPlay merged 1 commit intoNuPlay:mainfrom
filip-zielinski:fix/navigation-action-handler
Jan 21, 2024
Merged

[Fix] Always call decisionHandler on webview navigationAction#43
NuPlay merged 1 commit intoNuPlay:mainfrom
filip-zielinski:fix/navigation-action-handler

Conversation

@filip-zielinski
Copy link
Contributor

This PR makes sure that decissionHandler is always called on a webview navigationAction.

Previously, it was possible that when URL scheme is nil and creating "https" URL failed, then decissionHandler would not be called. Not calling decissionHandler would cause app to crash.

@NuPlay NuPlay merged commit 63cb8b2 into NuPlay:main Jan 21, 2024
@NuPlay
Copy link
Owner

NuPlay commented Jan 21, 2024

Thanks for finding and solving the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants