cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
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

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

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
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-wkwebview-engine.git;h=815ed07
]

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: https://issues.apache.org/jira/browse/CB-9888
>             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:
http://stackoverflow.com/questions/25854143/wkwebview-intermittent-blank-screen-issue )
> The plugin should detect if the WKWebView has reset and reload the app. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message