You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Simon MacDonald (Created) (JIRA)" <ji...@apache.org> on 2012/02/28 20:23:46 UTC

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

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: CordovaJS
    Affects Versions: 1.5.0
            Reporter: Simon MacDonald


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.

--
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

        

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

Posted by "Filip Maj (Updated) (JIRA)" <ji...@apache.org>.
     [ 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: iOS)

Removed iOS, fixed in 1.6.0rc1
                
> 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: BlackBerry, CordovaJS, WP7
>    Affects Versions: 1.5.0
>            Reporter: Simon MacDonald
>            Assignee: Filip Maj
>
> 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.

--
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

        

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

Posted by "Filip Maj (Updated) (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Filip Maj (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj updated CB-281:
-------------------------

    Component/s: iOS

Definitely affects iOS
                
> 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: CordovaJS, iOS
>    Affects Versions: 1.5.0
>            Reporter: Simon MacDonald
>
> 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.

--
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

        

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

Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj updated CB-281:
-------------------------

    Parent Issue: CB-556  (was: CB-179)
    
> 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: webOS
>    Affects Versions: 1.5.0
>            Reporter: Simon MacDonald
>            Assignee: Herm Wong
>
> 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 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

        

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

Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
     [ 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: Qt)
                     (was: Bada)
       Assignee: Herm Wong  (was: Filip Maj)

Bada's been done! Woohoo.

All that's left is webOS integration, thus assigning to Herm. Part of the CB-179 (unified JS) work.
                
> 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: Sub-task
>          Components: webOS
>    Affects Versions: 1.5.0
>            Reporter: Simon MacDonald
>            Assignee: Herm Wong
>
> 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 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

        

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

Posted by "Filip Maj (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj updated CB-281:
-------------------------

    Issue Type: Sub-task  (was: Bug)
        Parent: CB-179
    
> 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: Sub-task
>          Components: Bada, Qt, webOS
>    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, iOS, BlackBerry and Windows Phone 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

        

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

Posted by "Filip Maj (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj updated CB-281:
-------------------------

    Component/s: WP7
                 BlackBerry

Tagged platforms affected by this
                
> 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: BlackBerry, CordovaJS, iOS, WP7
>    Affects Versions: 1.5.0
>            Reporter: Simon MacDonald
>            Assignee: Filip Maj
>
> 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.

--
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

        

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

Posted by "Filip Maj (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj reassigned CB-281:
----------------------------

    Assignee: Filip Maj
    
> 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: BlackBerry, CordovaJS, iOS, WP7
>    Affects Versions: 1.5.0
>            Reporter: Simon MacDonald
>            Assignee: Filip Maj
>
> 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.

--
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

        

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

Posted by "Filip Maj (Updated) (JIRA)" <ji...@apache.org>.
     [ 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: WP7)
                     (was: BlackBerry)
                 webOS
    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.

  was:
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.


Dropped BB and WP7 tags and added webOS. BB + WP7 have been patched.
                
> 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, Qt, webOS
>    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, iOS, BlackBerry and Windows Phone 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