cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CB-9888) WKWebView on iOS9 on iPhone 5 (32-bit phone) - occasionally resets view
Date Wed, 22 Jun 2016 23:42:16 GMT


ASF subversion and git services commented on CB-9888:

Commit 815ed0741b9ae30b343d6429bd8ff2ad37ec5790 in cordova-plugin-wkwebview-engine's branch
refs/heads/master from mccraig mccraig of the clan mccraig

CB-9888: (iOS) check & reload WKWebView

This closes #11

When an app is entering the foreground,
the WKWebView content process sometimes dies without
calling the webViewContentProcessDidTerminate delegate function.

This PR checks whether the content process has died, by
examining the title property of the WKWebView, which is nil
when the process has died.

If the process has died the WKWebView is reloaded,
which avoids the White Screen Of Death problem described
in CB-9888.

> WKWebView on iOS9 on iPhone 5 (32-bit phone) - occasionally resets view
> -----------------------------------------------------------------------
>                 Key: CB-9888
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin WKWebViewEngine
>    Affects Versions: 4.0.0
>         Environment: iphone 5, ios9.1
>            Reporter: Jan Pittner
>            Assignee: Shazron Abdullah
>  Occasionally the entire web view is cleared. White screen. Plugins and other components
remain unaffected. Observed when playing background audio (via CDVSound), going to background,
and running other apps. Audio continues uninterrupted, but bringing the app to foreground
reveals white screen.
> It appears to be related to an issue with the XPC connection being lost between the app
and the wkwebview (log in XCode mentioned the XPC connection being interrupted). (see also: )
> The plugin should detect if the WKWebView has reset and reload the app. 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message