Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-556 integrate cordova js with webos
  3. CB-281

NetworkConnection.getInfo() needs to be normalized across all platforms.

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0
    • Fix Version/s: None
    • Component/s: cordova-webos
    • Labels:
      None

      Description

      Cordova-JS expects a single action from the Network plugin: "getConnectionInfo". All platforms need to be normalized so they will work the same. This action should simply return one of the following Strings:

      • "unknown"
      • "ethernet"
      • "wifi"
      • "2g"
      • "3g"
      • "4g"
      • "none"

      Currently Android, iOS, BlackBerry and Windows Phone implement this. The other tagged platforms in this issue do not.

        Attachments

          Activity

            People

            • Assignee:
              hermwong Herm Wong
              Reporter:
              macdonst Simon MacDonald
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: