Connor Pearson created CB-11997:
-----------------------------------
Summary: The webView should reload when a crash occurs (iOS 8)
Key: CB-11997
URL: https://issues.apache.org/jira/browse/CB-11997
Project: Apache Cordova
Issue Type: Bug
Components: Plugin WKWebViewEngine
Reporter: Connor Pearson
Assignee: Shazron Abdullah
With the iOS9 API, it is now possible to detect when the WKProcess dies. See
the API details for reference:
PR: https://github.com/apache/cordova-plugin-wkwebview-engine/pull/5
https://developer.apple.com/library/ios/releasenotes/General/iOS90APIDiffs/Objective-C/WebKit.html
When it does, the content is blanked out and the URL becomes nil. This results
in a "white screen" that can only be resolved by restarting the app. See this
for more info: https://bugs.webkit.org/show_bug.cgi?id=148685
I've Implemented the method: -
(void)webViewWebContentProcessDidTerminate:(WKWebView *)webView which will be
called when the process dies and reload the webView.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]