I need infamous WhiteScreenOfDeath to be fixed on Ionic application.
This appears only when app was built for production.
I am giving access to bitbucket repository with some app code.
When application is run in production mode but with live reload then it works:
ionic cordova run android --prod --minSdkVersion=21 --no-native-run -lc --address=0.0.0.0
When application is built for production and deployed to device it hangs after the splash screen.
Steps to reproduce (after 'npm install' and adding android platform):
- Run application (device or emulator) with following command:
ionic cordova run android --prod --minSdkVersion=21 --no-native-run
- application hangs after splash screen, presenting empty white screen
- application loads and shows 'Favorites' page.