cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vB Results, LLC. (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10657) [wkWebView] wkWebView disables JS execution when app is backgrounded
Date Thu, 03 Mar 2016 03:05:18 GMT

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

vB Results, LLC. commented on CB-10657:
---------------------------------------

This explains why opening alerts in the phonegap-push-plugin doesn't trigger the callback...

> [wkWebView] wkWebView disables JS execution when app is backgrounded
> --------------------------------------------------------------------
>
>                 Key: CB-10657
>                 URL: https://issues.apache.org/jira/browse/CB-10657
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin WKWebViewEngine
>         Environment: iOS
>            Reporter: John Robert  Cobbold
>              Labels: triaged
>
> When using wkWebView, Javascript execution is totally stopped after the app is backgrounded
by the user. This is a major problem for apps using background modes as no javascript callback
will be executed unless the app is either in the foreground or was already terminated by the
user / OS.
> example: cordova-plugin-geofence's javascript callbacks will not trigger after the app
was backgrounded but will however trigger if the app is in the foregrounded or was killed
by the user / OS.
> UIView does not have this problem.



--
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