With command ‘ionic plugin list’ i do not see splashscreen plugin. I used ’ < preference name=“splashscreen” value=“none” /> ’ but nothing. I observed that if i press back button of my device and then i resume the app, the blank screen appears again for 7-8 sec. The problem is not only for the boot time.
Can you share your code in like a github repo or something? It could help out.
My code is the default project of sidemenu in ionic2.
ionic start myproject sidemenu --v2
Thank you.
Just to be sure. No typescript project right?
No, i have files in .js format.
Thank you.
can confirm. even with an empty page it takes 7-8 seconds to initialize an ionic 2 app
Have you an Andorid device?
Thank you iignatov for this information. Do you know if this problem is near to be solved?
First of all I wouldn’t agree that this is a Ionic 2 problem because there are too many other factors, e.g. the device on which you test, the Android OS, the WebView version, etc… IMHO performance optimizations will be made only after the Ionic 2 stable release (however even then I wouldn’t expect miracles). I believe that the following post summarizes it pretty well:
Thank you, is it possible to see ionic2 stable release in this year?
Ok thank you for this information.
I’ve got this blank too, i hope we can cut it to 2-3 sec … hehehhe
About loading time, I did some optimizations and got 417ms loading time.
Look at report Website Speed Test | Pingdom Tools
Good recomendations:
http://blog.angular-university.io/how-to-run-angular-2-in-production-today/22
Creating A Pre-Bootstrap Loading Screen In Angular 2 RC 1
Our site is completely on Ionic2 beta.8
I am going to write tutorial on Built With Archives - Ionic Blog
and on Blog | SherpaDesk
Thank you for these informations.
Some news ?
I will have to use version 1 of ionic, users can not wait 7 seconds.
Thx
I think this topic can by closed, because you can find the solution here:
https://forum.ionicframework.com/t/rc4-seems-slower-to-load-the-app/73495/2
try with this config
I had the same problem as you. In v1 maximum loading time was 2 secodns and i never used the splashscreen plugin, i used directly my page with a spinner.
Now i’m forced to use the plugin and also to add to config.xml
<preference name="loadUrlTimeoutValue" value="700000"/>
to avoid problems.