My Project is dealing WebView with BLE functions. WebView will call native function and retrieve BLE related data. I found that all webviews will be completely blank after sometime and reload doesn't work.
I implemented WKNavigationDelegate and found that it stops at func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void and it won't call func webView(_ webView: WKWebView, didStartProvisionalNavigation navigation: WKNavigation!).
I suspected that the networking process is terminated and it won't restart.
I have tested it in iOS 12, 14 and 15. only iOS 15 got the issue.
It would be great if you could give me some insight about it. Thanks a lot.