Ionic PhoneGap Build deviceready has not fired using Device plugin



Mac OSX 10.9.2
Ionic 0.9.27
Phonegap Build 3.3.0

I am receiving the following message in the Weinre console on my iPhone.

deviceready has not fired after 5 seconds.
Channel not fired: onCordovaInfoReady

Solution Attempts:
I have already gone around with the Phonegap support folks regarding plugins. I can confirm that my config.xml is correct with regard to Phonegap Build based on comparing my copy to one from the support folks at Phonegap. Based on the message above, I assumed this was a deviceready issue, so I put the following code in my app.js file:$rootScope, $location, $ionicPlatform) {

$ionicPlatform.ready(function() {
    // Initialize plugin here

var _session_id = window.localStorage.getItem("_session_id");
var logged_in_userId = window.localStorage.getItem("logged_in_userId");

if (_session_id === null || _session_id === '') {
    // no logged user, we should be going to #login
    if (next.templateUrl === "templates/login.html") {
        // already going to #login, no redirect needed
    } else {
        // not going to #login, we should redirect now
} else {


I am still getting the error above.

If anyone has any suggestions, I’d really appreciate the help. I really like Ionic and would love to be able to continue forward.



Can I ask how your config.xml is configured for plugins to work on PhoneGap Build? I’m also having issues. Thanks.