Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 36324200C2C for ; Fri, 17 Feb 2017 02:31:47 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 34D20160B75; Fri, 17 Feb 2017 01:31:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7D631160B61 for ; Fri, 17 Feb 2017 02:31:46 +0100 (CET) Received: (qmail 10204 invoked by uid 500); 17 Feb 2017 01:31:45 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 10187 invoked by uid 99); 17 Feb 2017 01:31:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2017 01:31:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3F17E1A026D for ; Fri, 17 Feb 2017 01:31:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id O56Moi_wMlsd for ; Fri, 17 Feb 2017 01:31:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 4CD9860F56 for ; Fri, 17 Feb 2017 01:31:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 17868E02BA for ; Fri, 17 Feb 2017 01:31:43 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id DAD2724134 for ; Fri, 17 Feb 2017 01:31:41 +0000 (UTC) Date: Fri, 17 Feb 2017 01:31:41 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10657) [wkWebView] wkWebView disables JS execution when app is backgrounded MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 17 Feb 2017 01:31:47 -0000 [ https://issues.apache.org/jira/browse/CB-10657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15871006#comment-15871006 ] Shazron Abdullah commented on CB-10657: --------------------------------------- Seems to be a workaround here: http://stackoverflow.com/a/26575892 > [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 > Assignee: Shazron Abdullah > 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 (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org