You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shane (JIRA)" <ji...@apache.org> on 2017/06/05 19:26:04 UTC

[jira] [Commented] (CB-12884) Offline event not being triggered on android

    [ https://issues.apache.org/jira/browse/CB-12884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037434#comment-16037434 ] 

Shane commented on CB-12884:
----------------------------

Sorry about all the revisions... I've never used this website before.

> 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
>              Labels: android, event, network, offline
>             Fix For: 7.0.1
>
>
> The "offline" event is working 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. I register the events on app startup.
> If you'd like any more information I'll be happy to provide it.



--
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