NetworkStatus0 = TypeError: 'undefined' is not a function
问题 I'm using cordova-1.6.1 on Mac Lion with Xcode 4.3.1. I'm getting following error CordovaApp[322:13403] [INFO] Error in success callback: NetworkStatus0 = TypeError: 'undefined' is not a function when following line is executed. navigator.network.isReachable("phonegap.com", reachableCallback, {}); A function is defined as follows function reachableCallback(reachability) { var networkState = reachability.code; alert('Connection type: ' + networkState + ' - ' + reachability.message); } I'm