I would like to know if it is possible to eliminate the long response time in Ionic 2, for example to eliminate the splash screen and the white screen that appears when starting the application.
I need to make my app a bit faster.
I would like to know if it is possible to eliminate the long response time in Ionic 2, for example to eliminate the splash screen and the white screen that appears when starting the application.
I need to make my app a bit faster.
This line in confi.xml should suffice
You can remove the splash by putting the following line in your xml:
However, I am afraid that the start time will not be as you expect because the start speed is one of the things that is not achieved with hybrid apps, since when you start, they open a browser and start your app in it, for that reason takes time unlike native apps
You can't reduce the response time, but if you want to keep the splash screen and remove the white screen you can do the following:
-add in the config.xml
-Import the SplashScreen in the providers section 'app.module.ts':
-add in app.component.ts
-on 'initializeApp()'
With that you will no longer have the white screen and the splash screen will remain until you start the application
Add this code, to compile in production mode
// Android
--prod = Build the application for production
Learn more about build forms
https://ionicframework.com/docs/cli/cordova/build/