@iammelvin wrote:
Without --release --prod my APK works fine but when building for production I get the white screen for ever.
I have tried the below steps
Added <preference name=“loadUrlTimeoutValue” value=“700000” /> in config.xml
Tried hiding splash screen after timeout
Tried renaming index to main and added window.location in index file
Tried removing cordova android platform and reinstalling
Removed the node modules folder and reinstalled
Reinstalled all cordova plugins
Also added super.loadurl in mainactivity file
Changed base href to “.” from “/”
But nothing worked and when i build using the command ionic cordova build android --prod
I get a debug apk which i debugged using chrome remote debugging and I get the below errors
How do I resolve this issue ?
Posts: 1
Participants: 1