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
Just to be sure. No typescript project right?
No, i have files in .js format.
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 https://tools.pingdom.com/#!/DW6Td/http://m.sherpadesk.com/9
Thank you for these informations.
Some news ?
I will have to use version 1 of ionic, users can not wait 7 seconds.
I think this topic can by closed, because you can find the solution here:
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.