Fix an an issue where Cordova freezes waiting for the onCordovaInfoReady event to be fired