My ionic app takes 16 seconds to start , after splash screen of 3 seconds it atleast 13 seconds to start can you please help ??
tried --prod several times during build
ionic cordova build android --prod
and also tried
cordova build android --prod
but still facing this issue please help
You posted the same command twice, only with a different order of parameters.
These two do absolutely the same thing.
(--prod is for the Ionic build, --release for the Cordova build later on.)
I wish Ionic team just leave it this way because --release --pro works just fine for my current project. It indeed totally erases white loading screen and stock splash screen!
It gives me 3 second long gray blank screen on start but that’s all I get for now.
If you guys find a way to completely remove this gray blank screen on start, please let me know.
Now my app is very close to a native app written in Java besides the gray blank screen on start. All cordova apps seem to ship with this short gray blank screen…
There is nothing to change as it works perfectly fine and 100% identical no matter what order you specify the parameters. But as you are convinced it is different for you, you are obviously hitting a nasty bug that has to be reported.
I opened a topic but nothing came up yet. I built an app based on Apache Cordova without ionic or phone gap. It showed the same gray blank screen on my HTC android phone when it starts. I guess this is a problem from Cordova… Java and C# apps go straight into a custom made splashscreen or app screen without this gray screen.
may be this will be the problem because i used div many times but sir when grey screen is shown then i checked through debugging mode then no file seems to be loading or taking time . when no file is rendering then it is possible for them to take time to load