The device takes ~12s to load all the files whereas the simulator takes only ~2s. This results in the delay in firing deviceready event. Which in turn breaks all my plugins. Is there any way to fix this issue?
The loading time depends upon the device. The simulator was an iPhone 6 and the device I’ve used was an iPhone 4. Both were running on iOS 9.3.
I am also experiencing problems with slow loading on devices. Besides the initial plugins, I have only added “cordova-plugin-inappbrowser” plugin.
On Samsung Galaxy S6:
Native: deviceready did not fire within 2000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.
DEVICE READY FIRED AFTER 3919 ms
On a slower Lenovo YT3-X50F tablet:
deviceready has not fired after 5 seconds.
DEVICE READY FIRED AFTER 10070 ms
same problem on my Galaxy S6