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 CC866DA2C for ; Tue, 9 Oct 2012 15:16:03 +0000 (UTC) Received: (qmail 99159 invoked by uid 500); 9 Oct 2012 15:16:03 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 99066 invoked by uid 500); 9 Oct 2012 15:16:03 -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 98947 invoked by uid 99); 9 Oct 2012 15:16:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 15:16:03 +0000 Date: Tue, 9 Oct 2012 15:16:03 +0000 (UTC) From: "Andrew Grieve (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <854631794.14853.1349795763418.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (CB-1604) natigator.connection not implemented correctly on iOS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andrew Grieve created CB-1604: --------------------------------- Summary: natigator.connection not implemented correctly on iOS Key: CB-1604 URL: https://issues.apache.org/jira/browse/CB-1604 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: Master Reporter: Andrew Grieve Assignee: Andrew Grieve Fix For: 2.2.0 I broke this when changing Android from using navigator.network.connection -> navigator.connection. iOS currently sets navigator.network.connection and fires online/offline events directly instead of returning multiple getConnectionInfo() callbacks like Android does. The fix here is to change CDVConnection.m to act the same as Android, and just return a new getConnectionInfo PluginResult when the connection changes. -- 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