Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12884

Offline event not being triggered on android

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Resolved
    • Affects Version/s: 7.0.1
    • Fix Version/s: 7.0.1
    • Environment:

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              shaneparsons Shane
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: