cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane (JIRA)" <>
Subject [jira] [Created] (CB-12884) Offline event not being triggered on android
Date Mon, 05 Jun 2017 19:09:04 GMT
Shane created CB-12884:

             Summary: Offline event not being triggered on android
                 Key: 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


    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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message