Closed svzi closed 6 years ago
@svzi You may need to inspect the Web View console logs for errors. If you see the "white screen of death" it means there's a problem in HTML/JS/CSS land. See our docs for instructions: https://beta.ionicframework.com/docs/building/android#using-chrome-devtools-to-debug
@dwieeb That's pretty awesome, you were absolutely right about that. I simply forgot to copy a custom lib to the build folder that I recently added to my index.html. After fixing that, everything works as expected. Thanks for pointing me in the right direction, as I wasn't aware that this piece of log was missing in the device logs.
Awesome! Great to hear! 🍻
Description: When I build my Ionic 3 app (for Android) with "--prod" flag, the app starts as usual. Showing the splash screen and right after that a white screens. Nothing more happens thereafter, no matter how long you wait.
As soon as I remove the "--prod" flag, everything works as expected.
Output: The system log doesn't show any errors:
This is my package.json:
My
ionic info
:Other Information: At first I thought it could have something to do with Ionic Deploy (https://forum.ionicframework.com/t/app-hangs-on-startup-if-no-snapshot-update-available/135641/4), but it looks like I was wrong about.
Any help would be really much appreciated! I need to deliver a production ready build as soon as possible!
Best, Sven