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:09:04 UTC
[jira] [Created] (CB-12884) Offline event not being triggered on
android
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