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 A5334997F for ; Fri, 8 Jun 2012 17:38:23 +0000 (UTC) Received: (qmail 96744 invoked by uid 500); 8 Jun 2012 17:38:23 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 96711 invoked by uid 500); 8 Jun 2012 17:38:23 -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 96702 invoked by uid 99); 8 Jun 2012 17:38:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2012 17:38:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 23051140BEF for ; Fri, 8 Jun 2012 17:38:23 +0000 (UTC) Date: Fri, 8 Jun 2012 17:38:22 +0000 (UTC) From: "Aurelien MERCIER (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <11677448.53540.1339177103148.JavaMail.jiratomcat@issues-vm> In-Reply-To: <877024904.13725.1338334463470.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (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:all-tabpanel ] Aurelien MERCIER resolved CB-842. --------------------------------- Resolution: Fixed Adding the timeout fixed this issue > 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