You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Darryl Pogue (JIRA)" <ji...@apache.org> on 2018/05/05 06:57:00 UTC

[jira] [Closed] (CB-281) NetworkConnection.getInfo() needs to be normalized across all platforms.

     [ https://issues.apache.org/jira/browse/CB-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl Pogue closed CB-281.
---------------------------
    Resolution: Won't Fix

WebOS support has been deprecated, so I'm closing this issue as Won't Fix.

> NetworkConnection.getInfo() needs to be normalized across all platforms.
> ------------------------------------------------------------------------
>
>                 Key: CB-281
>                 URL: https://issues.apache.org/jira/browse/CB-281
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: cordova-webos (DEPRECATED)
>    Affects Versions: 1.5.0
>            Reporter: Simon MacDonald
>            Assignee: Herm Wong
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org