private static synchronized void deviceready() {
        deviceready = true;

        for (String js : eventQueue) {
            sendJavascript(js);
        }

        eventQueue.clear();
    }
Call all pending callbacks after the deviceready event has been fired.
src/android/LocalNotification.java