diff --git a/README.md b/README.md index 1c0a1c6..5b1cc78 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,8 @@ let xwebview = XWKWebView(webView); xwebview.invokeJs("window.invokeFromNative(nativePayload)", onSuccess: { payload in print("invokeJs onSuccess payload: \(payload)") - }, onFailure: { error in + }, + onFailure: { error in print("invokeJs onFailure error: \(error)") }) ```