Blank screen for 7-8 sec before home page

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. :slight_smile:

can confirm. even with an empty page it takes 7-8 seconds to initialize an ionic 2 app

Have you an Andorid device?

@Muhammedabuali As I already stated above (check out the linked post for details):

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?

I guess so, you can follow the progress on Github or read the roadmap.

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

Good recomendations:
http://blog.angular-university.io/how-to-run-angular-2-in-production-today/22
http://www.bennadel.com/blog/3105-creating-a-pre-bootstrap-loading-screen-in-angular-2-rc-1.htm

Our site is completely on Ionic2 beta.8
I am going to write tutorial on http://blog.ionic.io/tag/built-with/
and on http://www.sherpadesk.com/blog/

2 Likes

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

image

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.