GitHub user eladkat opened a pull request:
https://github.com/apache/cordova-plugin-network-information/pull/7
adding isConnectionRequired check for CELL
Reachability can return "ReachableViaWWAN" even in cases such as airplane
mode is on. In case of ReachableViaWWAN connectionRequired flag should be
checked.
see:
http://stackoverflow.com/questions/19949665/reachability-responding-with-wrong-status-code-in-ios-7-iphone-5
http://forums.macrumors.com/showthread.php?t=942439
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/eladkat/cordova-plugin-network-information dev
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-network-information/pull/7.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 #7
----
commit 3ecd1052435c89da8ae0309f659cee441c4cd06b
Author: Elad Katan <[email protected]>
Date: 2014-03-24T09:39:28Z
adding isConnectionRequired check for CELL
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---