Annoying white screen issue after splash screen

I made an application which uses Ionic 3.

The issue is the white screen with ‘Applcation Error ---- the connection to the server was unsuccessful’ shows after splash screen but not every time.

If it show, I reinstall the application, then the issue has gone, but maybe next time, I restart the application, it does not show that error anymore, maybe next day, I reopen the application, the issue comes back again, if reinstall the application, the issue will or will not gone.

I googled this issue and found lots of people has the white screen issue, but I tried ‘–prod’ option when building or set the timeout to 7000, all can not solve my problem.

Could anyone help to solve this issue, thanks.

anyone can help, thanks.