cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10817) The webView should reload when a crash occurs
Date Tue, 14 Feb 2017 08:22:41 GMT

    [ https://issues.apache.org/jira/browse/CB-10817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15865348#comment-15865348
] 

ASF GitHub Bot commented on CB-10817:
-------------------------------------

Github user alexfoxy commented on the issue:

    https://github.com/apache/cordova-plugin-wkwebview-engine/pull/5
  
    For now I added an event to the notification centre that I observe in the App Delegate
which then shows the splash screen. A bit hacky but seems to work well.
    
    I have another issue with WKWebView which I thought you might have some insight on. I
have filed a bug report on JIRA (https://issues.apache.org/jira/browse/CB-12408) but no response
yet. If you have a minute I'd love to hear if you have any solutions or ideas.


> The webView should reload when a crash occurs
> ---------------------------------------------
>
>                 Key: CB-10817
>                 URL: https://issues.apache.org/jira/browse/CB-10817
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin WKWebViewEngine
>            Reporter: Shazron Abdullah
>            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.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message