Device ready never start


#1

Hi, I have some problem with device ready, that was never called. i have this response in console from iOS emulator from xCode

[Log] deviceready has not fired after 5 seconds. (console-via-logger.js, line 173)
[Log] Channel not fired: onCordovaInfoReady (console-via-logger.js, line 173)
[Log] Channel not fired: onCordovaConnectionReady (console-via-logger.js, line 173)

i have added the org.apache.cordova.device but it not work.
How can I resolve? because without device ready i can’t check the connection status…

Thanks Claudio


#2

more information please


#3
        var app = angular
	.module('app', [
	    'ionic
	])
        .run(function($ionicPlatform) {
             $ionicPlatform.ready(function() {
                    // device stuff
             })
        })

#4

@pink_tshirt yes, my app definition is maked like your example, but it not work, finally i have found the solution, the problem is caused from the CLI that don’t insert plugin-code in the project plugin folder, after have copied that, it work good… now i don’t know if is a mine error or a bug… in a few day i start a new project and see if the problem repeat again… :wink: