Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6C87E200C7C for ; Mon, 5 Jun 2017 21:09:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6B6D2160BE1; Mon, 5 Jun 2017 19:09:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B121B160BBB for ; Mon, 5 Jun 2017 21:09:08 +0200 (CEST) Received: (qmail 31618 invoked by uid 500); 5 Jun 2017 19:09:07 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 31607 invoked by uid 99); 5 Jun 2017 19:09:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2017 19:09:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5D676181323 for ; Mon, 5 Jun 2017 19:09:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id SIoxE93qgoco for ; Mon, 5 Jun 2017 19:09:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 06CA15FC84 for ; Mon, 5 Jun 2017 19:09:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0F8CDE0D87 for ; Mon, 5 Jun 2017 19:09:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3285121E14 for ; Mon, 5 Jun 2017 19:09:04 +0000 (UTC) Date: Mon, 5 Jun 2017 19:09:04 +0000 (UTC) From: "Shane (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-12884) Offline event not being triggered on android MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 05 Jun 2017 19:09:09 -0000 Shane created CB-12884: -------------------------- Summary: Offline event not being triggered on android Key: CB-12884 URL: https://issues.apache.org/jira/browse/CB-12884 Project: Apache Cordova Issue Type: Bug Components: cordova-plugin-network-information Affects Versions: 7.0.1 Environment: Global packages: @ionic/cli-utils : 1.0.0 Cordova CLI : 7.0.1 Ionic CLI : 3.0.0 Local packages: @ionic/app-scripts : 1.3.7 @ionic/cli-plugin-cordova : 1.3.0 @ionic/cli-plugin-ionic-angular : 1.3.0 Cordova Platforms : android 6.1.2 ios 4.3.1 Ionic Framework : ionic-angular 3.2.1 System: Node : v8.0.0 OS : macOS Sierra Reporter: Shane Priority: Blocker Fix For: 7.0.1 The "offline" event is woring perfectly fine on ios and desktop, but it doesn't seem to be working properly on android. Basically turning off the wifi doesn't trigger the "onOffline" event UNLESS the app is initially started without an internet connection... at which point enabling and un-enabling the wifi will trigger it. As you can likely tell from my environment, I'm using the plugin in an Ionic project. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org