Hello Expert Ionic developer,
I built ionic 3 project android
ionic cordova build android --prod --release
It works on some devices but not working on some devices
Device is not working at my testing:
I installed the apk file after built with command : ionic cordova build android
After about 1 minute waiting, show this log:
deviceready has not fired after 5 seconds. cordova.js:1223
Channel not fired: onDOMContentLoaded cordova.js:1216
Angular is running in the development mode. Call enableProdMode() to enable the production mode. vendor.js:3406
Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them. vendor.js:108224
Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them. vendor.js:214605
DEVICE READY FIRED AFTER 39769 ms vendor.js:108219
Ionic Native: deviceready event fired after 39659 ms Any idea and advice, thanks.
Hello,
I tested many times on that device which is not working.
It will work fines if I removed --prod from release build
ionic cordova build android --release
And then I added
Then I guess some of the devices have an older native webview (Android Webview, it’s like an app that can be updated via the Play Store) that doesn’t support some functionality. Sounds very probably that the problem is appearing only with “obscure” devices as well.