GitHub user dlmma opened a pull request:

    https://github.com/apache/cordova-plugin-wkwebview-engine/pull/5

    The webView should reload when a crash occurs

    With the iOS9 API, it is now possible to detect when the WKProcess dies. 
See the API details for reference:
    
[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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dlmma/cordova-plugin-wkwebview-engine master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-wkwebview-engine/pull/5.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5
    
----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to