mirror of
https://github.com/apache/cordova-android.git
synced 2025-04-02 21:03:02 +08:00

For Android version 2.2 or better the navigator.connection object already exists. If this case we should immediately fire the onPhoneGapConnectionReady event so we don't tie up the 'deviceready' event.