thanks for the reply mate
i used --prod with this
Try to put this on the second line of your main.ts file
import { enableProdMode } from ‘@angular /core’;
then before the bootstrap line put
enableProdMode();
also when building use --prod so ionic build android --prod
but no change in loading
i forgot to include this
i used
<preference name=“loadUrlTimeoutValue” value=“700000” /
this in my config.xml to overcome this error
Yet again this problem, I know.
Launching the app on android gives an “application error. The connection to the server was unsuccessful”.
Many topics on this subjects, all pointing out to potential js or css using external link.
However, I have absolutely no file using external link in my code, and mostly not in my index.html
The strangest part is that this problem suddenly happened to all my android users last night for no reason at all. The same build that has been working for weeks suddd…