I get this console message
deviceready has not fired after 5 seconds.
Channel not fired: onPluginsReady
Channel not fired: onCordovaReady
when I use the following ionic code snippet.
ionic.Platform.ready(function(){
// will execute when device is ready, or immediately if the device is already ready.
// some code here. I am making calls to sqlite cordova plugin
});
The control never goes inside the ionic.Platform.ready function. Funny thing is that my code works on android devices but don't work on iOS devices.
I have tried doing a lot of stuff so far. I have tried following the troubleshooting given in this link. http://ift.tt/1LmWYij
The following is my configuration
Cordova version 5.3.1
Ionic version 1.6.4
Aucun commentaire:
Enregistrer un commentaire