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 62490D69D for ; Wed, 27 Jun 2012 19:11:45 +0000 (UTC) Received: (qmail 90992 invoked by uid 500); 27 Jun 2012 19:11:45 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 90953 invoked by uid 500); 27 Jun 2012 19:11:45 -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 90764 invoked by uid 99); 27 Jun 2012 19:11:45 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jun 2012 19:11:45 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 6195014284C for ; Wed, 27 Jun 2012 19:11:44 +0000 (UTC) Date: Wed, 27 Jun 2012 19:11:44 +0000 (UTC) From: "Aurelien MERCIER (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <560920288.63409.1340824304402.JavaMail.jiratomcat@issues-vm> In-Reply-To: <877024904.13725.1338334463470.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (CB-842) Offline event fired without special reasons 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-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402487#comment-13402487 ] Aurelien MERCIER commented on CB-842: ------------------------------------- That's not easy to reproduce, first you need to get a Nexus One or Original Galaxy since that's easier to reproduce on these device. Second, you have to play with the network connection (disabling it in the application or before launching it...). If I found a more precise way to reproduce it, I'll put that here. Thanks > Offline event fired without special reasons > ------------------------------------------- > > Key: CB-842 > URL: https://issues.apache.org/jira/browse/CB-842 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 1.7.0 > Reporter: Aurelien MERCIER > > The event is fired whereas I'm connected to wifi. Putting some logs in offline method, I see that navigator.network.connection.type is NONE and navigator.onLine is true. > Ps: it seems it appears after loading a page... > Right now I've added extra test in offline method to be sure it has been called whereas there is really no connection available. -- 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