Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A9A6DA07 for ; Tue, 14 Aug 2012 20:57:39 +0000 (UTC) Received: (qmail 54024 invoked by uid 500); 14 Aug 2012 20:57:38 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 53937 invoked by uid 500); 14 Aug 2012 20:57:38 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 53875 invoked by uid 99); 14 Aug 2012 20:57:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2012 20:57:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3A2792C5BEE for ; Tue, 14 Aug 2012 20:57:38 +0000 (UTC) Date: Wed, 15 Aug 2012 07:57:38 +1100 (NCT) From: "Michael Swiernik (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <148127568.9684.1344977858238.JavaMail.jiratomcat@arcas> In-Reply-To: <1180177622.1485.1344860198400.JavaMail.jiratomcat@arcas> Subject: [jira] [Comment Edited] (CB-1227) 'resume' event is not fired after WiFi is turned on/off when listening to 'online' or 'offline' events. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434469#comment-13434469 ] Michael Swiernik edited comment on CB-1227 at 8/15/12 7:56 AM: --------------------------------------------------------------- I think this is related to CB-541, where iOS has a quirk where you need to wrap stuff in timeouts if they occur during the resume step. That said, this is more than just a quirk with the resume event. In my testing, I had a different place where an alert might fire if the app doesn't have a connection, and that would run as the app was starting up and is not in the resume event. I had to get rid of that one as well in order to make it work in this scenario. Note that although CB-541 is listed as "fixed", there is no reference in the 2.0.0 documentation about this quirk. was (Author: drmike01): I think this is related to CB-541, here iOS has a quirk where you need to wrap stuff in timeouts if they occur during the resume step. That said, this is more than just a quirk with the resume event. In my testing, I had a different place where an alert might fire if the app doesn't have a connection, and that would run as the app was starting up and were not in the resume event. I had to get rid of that one as well in order to make it work in this scenario. Note that although CB-541 is listed as "fixed", there is no reference in the 2.0.0 documentation about this quirk. > 'resume' event is not fired after WiFi is turned on/off when listening to 'online' or 'offline' events. > ------------------------------------------------------------------------------------------------------- > > Key: CB-1227 > URL: https://issues.apache.org/jira/browse/CB-1227 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 1.9.0 > Reporter: Gene Connolly > Assignee: Shazron Abdullah > > When listening for 'online' and 'offline' events in an iOS cordova app, if you navigate to the device's settings app, turn on or off the WiFi (toggle), when you return to the cordova app it will be frozen. > Notes: If you navigate away from the app again and return it will respond. If you are only listening to 'online' then the issue will only occur when you turn the WiFi for a device on. Opposite applies for 'offline'. > This issue is best demonstrated by a simple app that sends notifications on 'online' 'offline' and 'resume'. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira