[
https://issues.apache.org/jira/browse/CB-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14096974#comment-14096974
]
ASF GitHub Bot commented on CB-7301:
------------------------------------
Github user zakrn commented on the pull request:
https://github.com/apache/cordova-plugin-network-information/pull/16#issuecomment-52186103
Sounds complicated lol
On Aug 13, 2014 2:19 PM, "neojato" <[email protected]> wrote:
> @jsoref <https://github.com/jsoref> - Thanks for the links. I wasn't
> aware of those steps being that I came to this repo from PhoneGap's direct
> reference to it.
>
> I've completed a majority of the steps and awaiting confirmation on the
> rest. I went ahead and created the jira case (
> https://issues.apache.org/jira/browse/CB-7301) with a meaningful
> description for this issue.
>
> Since I've already created the pull request for this issue, how would you
> advise this moving forward? Another commit? Changing the title for the
pull
> request to include a more meaningful description? Including the case id in
> this title?
>
> Thanks in advance.
>
> —
> Reply to this email directly or view it on GitHub
>
<https://github.com/apache/cordova-plugin-network-information/pull/16#issuecomment-52096890>
> .
>
> Cordova Network Plugin - Adding NetworkManager::getType support for
> NetworkInfo.getTypeName() returning "CELLULAR"
> ------------------------------------------------------------------------------------------------------------------
>
> Key: CB-7301
> URL: https://issues.apache.org/jira/browse/CB-7301
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 3.3.0, 3.4.0, 3.5.0
> Environment: Android L
> Reporter: Kyle Paul
> Priority: Minor
> Fix For: 3.3.0, 3.4.0, 3.5.0
>
>
> The [Android API 20
> documentation|http://developer.android.com/reference/android/net/NetworkInfo.html#getTypeName()]
> currently states that "MOBILE" and "WIFI" are returned when referencing
> NetworkInfo.getTypeName().
> By testing on a Nexus 5 with the Android L Developer Preview,
> NetworkInfo.getTypeName() is actually returning "CELLULAR" and "WIFI" instead.
> Thus the Cordova Network plugin will only return "UNKNOWN" (line 270 in
> [NetworkManager.java|https://github.com/apache/cordova-plugin-network-information/blob/master/src/android/NetworkManager.java])
> unless the device is connected on a Wi-Fi network.
--
This message was sent by Atlassian JIRA
(v6.2#6252)