cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-12529) Support default 'cellular' detection into cordova-plugin-network-information for Android
Date Mon, 06 Mar 2017 17:19:33 GMT

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

Joe Bowser updated CB-12529:
----------------------------
         Labels: Android  (was: )
       Priority: Minor  (was: Major)
    Component/s:     (was: Android)
                 Plugin Network Information

I disagree.  It really should be unknown, since we don't know what Cellular Technology we're
using.  BTW: What technology is causing UNKNOWN to occur?

> Support default 'cellular' detection into cordova-plugin-network-information for Android
> ----------------------------------------------------------------------------------------
>
>                 Key: CB-12529
>                 URL: https://issues.apache.org/jira/browse/CB-12529
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Network Information
>            Reporter: Zia Sergio
>            Priority: Minor
>              Labels: Android
>
> cordova-plugin-network-information/src/android/NetworkManager java class :
> Method getType() : In case of unknown cellular network detected, returned value is TYPE_UNKNOWN
 (equals "unknown" string)
> It seems it is better in this case that returns "cellular" string.
> For this simply add a constant :
>     public static final String TYPE_CELL = "cellular";
> And add a 'else' statement after all 'else if' statements detecting the cellular connection
sub-types :
>                 else {
>                     return TYPE_CELL;
>                 }



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message