[
https://issues.apache.org/jira/browse/CB-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Filip Maj updated CB-281:
-------------------------
Component/s: (was: CordovaJS)
Qt
Bada
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 and iOS implement this. The other tagged platforms in this
issue do not.
was:NetworkConnection.getInfo() is the Android version of the function. It
needs to be normalized so all platforms will work the same. Probably require
changes in the native code for many of the platforms.
Tagged with native platforms that need updating. Made explicit the native
service + action and the proper return values from native.
> NetworkConnection.getInfo() needs to be normalized across all platforms.
> ------------------------------------------------------------------------
>
> Key: CB-281
> URL: https://issues.apache.org/jira/browse/CB-281
> Project: Apache Callback
> Issue Type: Bug
> Components: Bada, BlackBerry, Qt, WP7
> Affects Versions: 1.5.0
> Reporter: Simon MacDonald
> Assignee: Filip Maj
>
> 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 and iOS implement this. The other tagged platforms in this
> issue do not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira