This plugin makes Cordova app device ready not firing
See original GitHub issueBug Report
Problem
cordova-plugin-dialogs breaks Cordova. Never fires deviceready. Tested with an empty repo. Added a few plugins.
<plugin name="cordova-plugin-device" spec="^2.1.0" />
<plugin name="cordova-plugin-network-information" spec="^3.0.0" />
<plugin name="cordova-plugin-statusbar" spec="^3.0.0" />
Everything works fine, deviceready is fired. Then adding
<plugin name="cordova-plugin-dialogs" spec="^2.0.2" />
Breaks the app, deviceready
never fired
Environment, Platform, Device
Reproduced on device Android 6.0.1
Version information
Cordova 11.0.0 cordova-android 10.1.2
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
deviceready not firing in cordova - Stack Overflow
deviceready event is essential to any application. It signals that Cordova's device APIs have loaded and are ready to access.
Read more >deviceready - Apache Cordova
The Cordova deviceready event fires once Cordova has fully loaded. After the device has fired, you can safely make calls to Cordova function....
Read more >[Android] deviceready has not fired after 5 seconds. · Issue #600
I'm using phonegap, When I start the app with "cordova-pluign-ionic-webview", i got this error: deviceready has not fired after 5 seconds. Step ...
Read more >Cordova function onDeviceReady not Working in F7 - Questions
The way you are calling/using functions inside onDeviceReady is looks fine. document.addEventListener('deviceready', onDeviceReady, false);. Are ...
Read more >cordova deviceready not firing ios
Native: deviceready did not fire within 2000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can reproduce here 100% of the time, tested on real device. Will debug from AS.
Not sure what’s going on … Added/Removed the plugin a few times while doing test, now deviceready fires… Will close for now but this is just weird.