I’m having the same Issue since updating both, Cordova and Ionic. In my case the app sometimes starts up normally, and sometimes the app gets stuck at the point where the .ready function should get fired. And it only occurs on IOS; Android works fine. As the app crashes before the .ready function it is not accessible through the Safari debugger. The output from XCode is:
This is the exact same output I get when the app crashes and when the app loads normally. If it starts up the next output is from Ionic Analytics, which gets loaded in the .ready function.
Did someone get this working again, as an app like this is not releasable.
Hmm, this is still happening for me. It’s seemingly random, which makes me think there is a funky timing issue going on somewhere, a slight delay in loading a dependency or a plugin is stalling the device before it can fire .ready… any news elsewhere?
This fixed the issue for me. Also this issue completely destroyed my development time for the last 2 weeks because I thought there was something wrong with my code the entire time. Probably the worst bug I’ve encountered in my life.
I too have lost 5 days of work because of this insanity. I upgraded to ios@4.1.0 but the hang was still there and no errors in any console. It turns out that these may not be “hangs” at all; it’s just the splash screen not going away on its own under iOS (it does on other platforms).
Yes, this worked for me but make sure you also update the Cordova iOS platform to 4.1.0 (this is separate from the Cordova CLI version) as there was a separate issue that caused hangs in iOS with prior versions.
i upgrated cordova platform update ios@4.1.0 for installing phonegap-plugin-push plugin but after installing i am not getting device UUid and device Platform from device.uuid and device.platform for ios but i got these value for android platform and i have already installed cordova plugin add cordova-plugin-device.
$ionicPlatform.ready(function() {
console.log(‘deviceready’);
});
$ionicPlatform.ready fired only for android. not for ios