apache / cordova-plugin-network-information

Apache Cordova Network Information Plugin
https://cordova.apache.org/
Apache License 2.0
464 stars 321 forks source link

adding isConnectionRequired check for CELL #7

Closed eladkat closed 10 years ago

eladkat commented 10 years ago

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

shazron commented 10 years ago

Tracking under https://issues.apache.org/jira/browse/CB-6342

shazron commented 10 years ago

Issue resolved. See issue link for commit url. You can close this PR now