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

cordova-plugin-network-information reports type === NONE when connected through 3G/4G on iOS 11

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • cordova-ios@4.4.0, cordova-ios@4.3.1
    • None
    • AllPlugins
    • None
    • iPhone SE
      iOS 11.2.1
      Vodafone UK + WiFi
      Phonegap Cli 6.5.0 and 7.0.1
      cordova-ios 4.3.1 and 4.4.0
      cordova-plugin-network-information 1.3.3, 1.3.4 and 2.0.0

    Description

      When an iPhone (SE) with iOS 11.2 is disconnected from WIFI but connected to a CELL network (Vodafone UK) either;

      • by being out of reach of a WIFI network, or
      • by forgetting the WIFI network in iOS settings or
      • by disabling WIFI in the iOS control panel:

      then

      1. A cordova/phonegap app reports navigator.connection.type === Connection.NONE instead of Connection.CELLxxx
      2. Upon launching such cordova/phonegap app an offline event is triggered

      This issue has also been reported by someone else in the ionic forums https://forum.ionicframework.com/t/cordova-network-plugin-is-not-working-in-ios-version-11-but-was-working-in-version-10/111326.

      Attachments

        1. iOS10.png
          87 kB
          Jacques L. CHEREAU
        2. iOS11.png
          89 kB
          Jacques L. CHEREAU

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            JLCHEREAU Jacques L. CHEREAU
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment