fix(WKWebView): iOS crash when WebView's title is nil (#521)

This commit is contained in:
TMomemt
2019-04-23 11:16:04 +02:00
committed by Thibault Malbranche
parent 24be864ceb
commit 7a91221926
+1 -1
View File
@@ -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)