[
https://issues.apache.org/jira/browse/CB-12751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15993081#comment-15993081
]
ASF GitHub Bot commented on CB-12751:
-------------------------------------
GitHub user cjpearson opened a pull request:
https://github.com/apache/cordova-plugin-network-information/pull/54
CB-12751: (ios) Fix connection type when airplane mode is on
<!--
Please make sure the checklist boxes are all checked before submitting the
PR. The checklist
is intended as a quick reference, for complete details please see our
Contributor Guidelines:
http://cordova.apache.org/contribute/contribute_guidelines.html
Thanks!
-->
### Platforms affected
iOS
### What does this PR do?
Reachability does not work properly when using Wifi then turning on
Airplane mode.
### What testing has been done on this change?
Tested on iOS 8-10.
### Checklist
- [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html)
in the JIRA database
- [ ] Commit message follows the format: "CB-3232: (android) Fix bug with
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform
affected.
- [ ] Added automated test coverage as appropriate for this change.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cjpearson/cordova-plugin-network-information
CB-12751
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-network-information/pull/54.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #54
----
commit 544d6fd065426dbbb19a234df1946fc65021ce0b
Author: Connor Pearson <[email protected]>
Date: 2017-01-18T15:21:46Z
CB-12751: (ios) Fix connection type when airplane mode is on
----
> iOS reports a wifi connection even when in Airplane mode
> --------------------------------------------------------
>
> Key: CB-12751
> URL: https://issues.apache.org/jira/browse/CB-12751
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Network Information
> Reporter: Connor Pearson
> Assignee: Shazron Abdullah
>
> See:
> https://github.com/apache/cordova-plugin-network-information/pull/7
> Reachability returns "ReachableViaWWAN" even if 3G is disabled. If you get
> ReachableViaWWAN, check connectionRequired (is YES if 3G is disabled).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]