Cordova Errors in monaca

Asked 1 years ago, Updated 1 years ago, 113 views

I'm creating an app with monaca, but every time I start the app, I get a Cordova error.
I'm in trouble because I don't know how to fix it.
Fill in the error log below.

 device ready has not failed after 5 seconds.
Channel not fired: onCordovaInfoReady
Channel not fired: onCordovaConnectionReady
Channel not fired: onFileSystemPathsReady

How does this error affect the application?
Also, what should I do to fix the error?

monaca cordova

2022-09-30 21:17

1 Answers

This error occurs when cordova is not running properly when it starts.
If this happens, all the features of cordova will be unavailable.

First, comment out the javascript code you are loading and turn off the plug-in to ensure that the device ready event starts correctly.

 document.addEventListener("deviceready", function() { alert("DeviceReady");}, false);

If you write a code similar to the one shown in and DeviceReady appears when the application starts, it will succeed.(Note that DeviceReady events do not ignite in preview.)

When the device ready event starts firing, gradually narrow down the range of comments to see where the device ready is not firing.


2022-09-30 21:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.