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

Offline event not being triggered on android

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Resolved
    • 7.0.1
    • 7.0.1

    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

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

            Dates

              Created:
              Updated:
              Resolved: