forked from react-native-webview/react-native-webview
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(android): Update SSL error handling (react-native-webview#1466)
* Update SSL error handling for Android WebView Update SSL error handling to call onReceivedError() only on top-level navigations. This prevents iframes and other subresources from causing user-visible SSL error messages. The desired behavior is only to have top-level navigations show user-visible error messages. All other requests should be cancelled automatically with no user-visible error message. * Update RNCWebViewManager.java Clarify comments and add warning on blocked subresource Co-authored-by: Thibault Malbranche <thibault.malbranche@epitech.eu>
- Loading branch information
1 parent
3517d2d
commit 8e20565
Showing
1 changed file
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters