Trying to port my PhoneGap javascript code into Xcode for debugging in iOS. Using Cordova-3.0.0.
When I call:
navigator.connection.type
If you simply want to know if you are connected or not try using navigator.onLine in your js instead. Works for me on IOS 8 & Android 2.3 and doesn't require any plugins