Hi there, love this project.
I am facing an issue regarding to WKWebViewJavascriptBridge.
https://github.com/marcuswestin/WebViewJavascriptBridge/blob/master/WebViewJavascriptBridge/WKWebViewJavascriptBridge.m
Line 130 made a function call:
I would suggest the following instead: (Use decisionHanlder to deny/cancel requests whose scheme are "wvjbscheme")
decisionHandler(WKNavigationActionPolicyCancel);
I have compared to the WebViewJavascriptBridge. In the WebViewJavascriptBridge, UIWebViewDelegate method
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
returns NO instead of stopping the whole UIWebView.
Stop the loading of a WKWebView directly stop all pending request. Especially sites under HTTPS. Dunno why but thats what I saw.
Hi there, love this project.
I am facing an issue regarding to WKWebViewJavascriptBridge.
https://github.com/marcuswestin/WebViewJavascriptBridge/blob/master/WebViewJavascriptBridge/WKWebViewJavascriptBridge.m
Line 130 made a function call:
I would suggest the following instead: (Use decisionHanlder to deny/cancel requests whose scheme are "wvjbscheme")
I have compared to the WebViewJavascriptBridge. In the WebViewJavascriptBridge, UIWebViewDelegate method
returns NO instead of stopping the whole UIWebView.
Stop the loading of a WKWebView directly stop all pending request. Especially sites under HTTPS. Dunno why but thats what I saw.