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

Respect Network Information API in browser variant of cordova-plugin-network-information

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Chrome 61+ implemented the Network Information API, but the current implementation of the cordova-plugin-network-information for browsers does not respect this API if it's available.

      See https://github.com/apache/cordova-plugin-network-information/blob/master/src/browser/network.js#L25 for how it determines the connection via getConnectionInfo.

      It would be a good improvements if the Network Information API is used if available.

      More information:

      Attachments

        Activity

          People

            Unassigned Unassigned
            timbru31 Tim Brust
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: