Bug Report
Problem:
On Android, app starts with internet access, move phone into airplane mode and the online function triggers when the offline function should trigger. This is happening about 50% of the time. After taking phone off airplane mode, I can see online function trigger again and then on a 2nd time putting phone into airplane mode do I finally see it go offline
What is expected to happen?
Moving phone into airplane mode should trigger the offline function - every time.
What does actually happen?
On first time putting phone into airplane mode - I see online function trigger. After restoring phone and then putting back into airplane mode a 2nd time, the offline triggers as its supposed to. Its only happening on the first time.
Information
Included above.
Command or Code
Plugin version 2.0.2
Environment, Platform, Device
Android...its happening on Android 5 through 9. - all my test devices.
Version information
Plugin Version: 2.0.2
Ionic:
Ionic CLI : 5.4.2 (C:\Users\RPO\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic1 1.0.0
@ionic/v1-toolkit : 1.0.22
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, (and 30 other plugins)
Utility:
cordova-res : 0.6.0
native-run : 0.2.8
System:
NodeJS : v10.16.3 (C:\Program Files\nodejs\node.exe)
npm : 6.4.0
OS : Windows 7
Checklist
Bug Report
Problem:
On Android, app starts with internet access, move phone into airplane mode and the
onlinefunction triggers when theofflinefunction should trigger. This is happening about 50% of the time. After taking phone off airplane mode, I can seeonlinefunction trigger again and then on a 2nd time putting phone into airplane mode do I finally see it goofflineWhat is expected to happen?
Moving phone into airplane mode should trigger the
offlinefunction - every time.What does actually happen?
On first time putting phone into airplane mode - I see
onlinefunction trigger. After restoring phone and then putting back into airplane mode a 2nd time, theofflinetriggers as its supposed to. Its only happening on the first time.Information
Included above.
Command or Code
Plugin version 2.0.2
Environment, Platform, Device
Android...its happening on Android 5 through 9. - all my test devices.
Version information
Plugin Version: 2.0.2
Ionic:
Ionic CLI : 5.4.2 (C:\Users\RPO\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic1 1.0.0
@ionic/v1-toolkit : 1.0.22
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, (and 30 other plugins)
Utility:
cordova-res : 0.6.0
native-run : 0.2.8
System:
NodeJS : v10.16.3 (C:\Program Files\nodejs\node.exe)
npm : 6.4.0
OS : Windows 7
Checklist