We have this in many of our tests, but why not just put it right in
cordova.js?

e.g.

var timerId = null;
document.addEventListener('deviceready', function() {
  window.clearTimeout(timerId);
}, false);
timerId = window.setTimeout(function() {
  console.log('Cordova failed to initialized due to the following channels
not firing: ...');
}, 1000);

Reply via email to