[
https://issues.apache.org/jira/browse/CB-10657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16538151#comment-16538151
]
Shazron Abdullah commented on CB-10657:
---------------------------------------
[~ghenry22] Any updates on what the proper workaround is? The last thing you
mentioned is maintaining a forked version of the background mode plugin.
Perhaps it can be a preference for the background mode plugin (and you can send
a PR to the repo)?
> [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: cordova-plugin-wkwebview-engine
> Environment: iOS
> Reporter: John Robert Cobbold
> Assignee: Shazron Abdullah
> Priority: Major
> Labels: triaged, wkwebview-known-issues
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]