Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69055D89D for ; Fri, 21 Dec 2012 19:47:13 +0000 (UTC) Received: (qmail 12896 invoked by uid 500); 21 Dec 2012 19:47:13 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 12864 invoked by uid 500); 21 Dec 2012 19:47:13 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 12775 invoked by uid 500); 21 Dec 2012 19:47:13 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 12751 invoked by uid 99); 21 Dec 2012 19:47:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Dec 2012 19:47:13 +0000 Date: Fri, 21 Dec 2012 19:47:13 +0000 (UTC) From: "Joe Bowser (JIRA)" To: callback-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-2096) Online/Offline events no longer trigger when event listener is added 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-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-2096: --------------------------- Assignee: Shazron Abdullah (was: Joe Bowser) I can't reproduce it on the devices I have here. Want to see if it's reproducible on iOS and if not close this? > Online/Offline events no longer trigger when event listener is added > -------------------------------------------------------------------- > > Key: CB-2096 > URL: https://issues.apache.org/jira/browse/CB-2096 > Project: Apache Cordova > Issue Type: Bug > Components: Android, CordovaJS, iOS > Affects Versions: 2.2.0 > Environment: Android 4.1, 4.2, iOS 6. Affects both simulators and devices. > Reporter: Kuan Yi Ming > Assignee: Shazron Abdullah > Priority: Minor > > The online and offline event behaviour has changed from 2.1.0 to 2.2.0. In 2.1.0, the online event fires immediately when the event listener was added if there is an Internet connection, but doesn't in 2.2.0. Those events work fine in all other instances though when turning on/off mobile data etc. Is this change by design, or is it a bug? > Use the full example from http://docs.phonegap.com/en/2.2.0/cordova_events_events.md.html#online -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira