mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 11:41:08 +00:00
fix(WKWebView): iOS crash when WebView's title is nil (#521)
This commit is contained in:
committed by
Thibault Malbranche
parent
24be864ceb
commit
7a91221926
+1
-1
@@ -460,7 +460,7 @@ static NSURLCredential* clientAuthenticationCredential;
|
||||
{
|
||||
NSDictionary *event = @{
|
||||
@"url": _webView.URL.absoluteString ?: @"",
|
||||
@"title": _webView.title,
|
||||
@"title": _webView.title ?: @"",
|
||||
@"loading" : @(_webView.loading),
|
||||
@"canGoBack": @(_webView.canGoBack),
|
||||
@"canGoForward" : @(_webView.canGoForward)
|
||||
|
||||
Reference in New Issue
Block a user