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

Andrew Grieve resolved CB-4142.
-------------------------------

    Resolution: Not A Problem
      Assignee: Andrew Grieve  (was: Steve Gill)

Having online fire when the connection changes is a part of the old net-info 
spec. You can query navigator.connection.type each time it fires, so it's not 
worth doing anything custom to make this different.

Note that the general consensus is that using connection type in an app is bad 
practice, and the net-info spec has even been updated to not include this 
information:
http://www.w3.org/TR/netinfo-api/


                
> 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: Andrew Grieve
>
> 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

Reply via email to