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 Sub-task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0
    • Fix Version/s: None
    • Component/s: 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.

        Activity

        Hide
        Filip Maj added a comment -

        Bada's been done! Woohoo.

        All that's left is webOS integration, thus assigning to Herm. Part of the CB-179 (unified JS) work.

        Show
        Filip Maj added a comment - Bada's been done! Woohoo. All that's left is webOS integration, thus assigning to Herm. Part of the CB-179 (unified JS) work.
        Hide
        Filip Maj added a comment -

        Dropped BB and WP7 tags and added webOS. BB + WP7 have been patched.

        Show
        Filip Maj added a comment - Dropped BB and WP7 tags and added webOS. BB + WP7 have been patched.
        Hide
        Filip Maj added a comment -

        Tagged with native platforms that need updating. Made explicit the native service + action and the proper return values from native.

        Show
        Filip Maj added a comment - Tagged with native platforms that need updating. Made explicit the native service + action and the proper return values from native.
        Hide
        Filip Maj added a comment -

        Removed iOS, fixed in 1.6.0rc1

        Show
        Filip Maj added a comment - Removed iOS, fixed in 1.6.0rc1
        Hide
        Filip Maj added a comment -

        Tagged platforms affected by this

        Show
        Filip Maj added a comment - Tagged platforms affected by this
        Hide
        Filip Maj added a comment -

        Definitely affects iOS

        Show
        Filip Maj added a comment - Definitely affects iOS

          People

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

            Dates

            • Created:
              Updated:

              Development