# When opening app it stays on blank screen

**URL:** <https://forum.ionicframework.com/t/when-opening-app-it-stays-on-blank-screen/120056>\
**Category:** Appflow\
**Created:** [January 31, 2018, 11:55pm UTC](https://forum.ionicframework.com/t/when-opening-app-it-stays-on-blank-screen/120056 "2018-01-31T23:55:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![AaronSterling](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@AaronSterling](https://forum.ionicframework.com/u/AaronSterling)\
**Post date:** [January 31, 2018, 11:59pm UTC](https://forum.ionicframework.com/t/when-opening-app-it-stays-on-blank-screen/120056/2 "2018-01-31T23:59:54Z")

</div>

> [@Android: Splashcreen shows much longer then device.ready() takes to fire](https://forum.ionicframework.com/t/android-splashcreen-shows-much-longer-then-device-ready-takes-to-fire/115404/10):
>
> Two main sources of trouble: 1) your code, or 2) plugin code Re 1): Import as little as possible into app.module.ts. Lazy load all your pages, and make sure the modules you import are not asking for much at startup. Registering providers is fine. But building pages or doing array initialization is not. Also, put nothing in the constructor of app.component.ts. Stick all the hard work in ionViewWillEnter or ngAfterViewInit or a similar life cycle hook. Re 2) Much harder to diagnose by foru…

---

_[View the full topic](https://forum.ionicframework.com/t/when-opening-app-it-stays-on-blank-screen/120056)._
