You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vinoth Kumar (JIRA)" <ji...@apache.org> on 2013/07/11 07:41:49 UTC

[jira] [Commented] (CB-4142) Need an API to know the connection type changes

    [ https://issues.apache.org/jira/browse/CB-4142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705485#comment-13705485 ] 

Vinoth Kumar commented on CB-4142:
----------------------------------

Yes. Noticed that on Android. But is this behavior consistent across all platforms?

Also still feels it is easier if you have an API on change of the connection type. For example, suppose we want to upload some files when there is wifi, otherwise just send some status in case there is only 2G or 3G. Currently we need to subscribe to both online and offline, see what was the old connection type to stop what i was doing etc. Feels it is more crisp if we have a connection change event.
                
> Need an API to know the connection type changes
> -----------------------------------------------
>
>                 Key: CB-4142
>                 URL: https://issues.apache.org/jira/browse/CB-4142
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Plugin Network Information
>    Affects Versions: 2.9.0
>            Reporter: Vinoth Kumar
>            Assignee: Steve Gill
>
> Hi,
> Now there is no way to track the mobile network connection type changes. We can use the online and offline APIs along with the connection APIs
> Lets consider the following case:
> I enabled 2G connection in my mobile. Then I connected to WIFI. After WIFI connection, we need to know the type of the connection to do some actions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira