# White screen after splash and before my home screen capacitor ionic

**URL:** <https://forum.ionicframework.com/t/white-screen-after-splash-and-before-my-home-screen-capacitor-ionic/202724>\
**Category:** ionic-v3\
**Created:** [January 13, 2021, 8:45am UTC](https://forum.ionicframework.com/t/white-screen-after-splash-and-before-my-home-screen-capacitor-ionic/202724 "2021-01-13T08:45:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![purplecommercepC](https://avatars.discourse-cdn.com/v4/letter/p/aeb1de/32.png) [@purplecommercepC](https://forum.ionicframework.com/u/purplecommercepC)\
**Post date:** [January 13, 2021, 8:45am UTC](https://forum.ionicframework.com/t/white-screen-after-splash-and-before-my-home-screen-capacitor-ionic/202724/1 "2021-01-13T08:45:34Z")

</div>

Hey, I upgraded my old cordova app to capacitor app, everything is working fine but I am seeing a white screen between splashscreen and my home page.

I am getting no error on my console, just wonder why this white screen is coming.

here is my config.xml

```auto
    <preference name="AutoHideSplashScreen" value="false" />
    <preference name="SplashScreenDelay" value="10000" />
    <preference name="FadeSplashScreenDuration" value="1000" />
    <preference name="SplashScreen" value="screen" />
    <preference name="ShowSplashScreen" value="true" />
    <preference name="ShowSplashScreenSpinner" value="false" />
    <preference name="SplashShowOnlyFirstTime" value="false" />
    <preference name="FadeSplashScreen" value="true" />

```

and my capacitor.config.xml

```auto
{
  "appId": "com.ionics.SFDS",
  "appName": "CSCA",
  "bundledWebRuntime": false,
  "npmClient": "npm",
  "webDir": "www",
  "cordova": {
    "preferences": {
      "ScrollEnabled": "false",
      "android-minSdkVersion": "19",
      "BackupWebStorage": "none",
      "SplashMaintainAspectRatio": "true",
      "FadeSplashScreenDuration": "300",
      "SplashShowOnlyFirstTime": "false",
      "SplashScreen": "screen",
      "KeyboardResize": "true"
    },
    "plugins":{
      "SplashScreen":{
        "launchShowDuration":3000
      }
    }
  }
  
}

```

let me know what is the great option to hide this screen or extend the duration for splash screen.

---

<div class="post-metadata">

**Author:** ![easyadin](https://avatars.discourse-cdn.com/v4/letter/e/ec9cab/32.png) [@easyadin](https://forum.ionicframework.com/u/easyadin)\
**Post date:** [January 13, 2021, 11:35am UTC](https://forum.ionicframework.com/t/white-screen-after-splash-and-before-my-home-screen-capacitor-ionic/202724/2 "2021-01-13T11:35:58Z")

</div>

This should help you resolve it. Hopefully.

> [@How to hide the white screen after splash screen ionic 4 and capacitor](https://forum.ionicframework.com/t/how-to-hide-the-white-screen-after-splash-screen-ionic-4-and-capacitor/185466/8):
>
> How I resolved it. its been a while but you can try this out. First, tweak this or add to your capacitor.config.json “SplashScreen”: { "launchShowDuration": 3000, "launchAutoHide": false, "androidScaleType": "CENTER\_INSIDE", "splashFullScreen": false, "splashImmersive": false, "backgroundColor": "#1C3461", "androidSplashResourceName": "splash" } then use a setTimeout to hide the splash screen in your app.component.ts this.platform.ready().then(async () =\> { setTim…

---

<div class="post-metadata">

**Author:** ![tas3](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@tas3](https://forum.ionicframework.com/u/tas3)\
**Post date:** [March 29, 2021, 12:24am UTC](https://forum.ionicframework.com/t/white-screen-after-splash-and-before-my-home-screen-capacitor-ionic/202724/3 "2021-03-29T00:24:04Z")

</div>

Thanks! This solved my problem as well. 😁

---

<div class="post-metadata">

**Author:** ![Reinert](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@Reinert](https://forum.ionicframework.com/u/Reinert)\
**Post date:** [October 15, 2021, 1:57pm UTC](https://forum.ionicframework.com/t/white-screen-after-splash-and-before-my-home-screen-capacitor-ionic/202724/4 "2021-10-15T13:57:28Z")

</div>

Does NOT work anymore.

---

<div class="post-metadata">

**Author:** ![whit3](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/whit3/32/140469_2.png) [@whit3](https://forum.ionicframework.com/u/whit3)\
**Post date:** [December 9, 2021, 2:14pm UTC](https://forum.ionicframework.com/t/white-screen-after-splash-and-before-my-home-screen-capacitor-ionic/202724/5 "2021-12-09T14:14:31Z")

</div>

This works for me in **Capacitor 3+ / Ionic 5+ / Angular 12+**

```auto
npm i --save @capacitor/splash-screen

```

capacitor.config.json

```auto
 "plugins": {
    "SplashScreen": {
      "launchAutoHide": false,
      "showSpinner": false
    }
  }

```

app.component.ts

```auto
import {SplashScreen} from '@capacitor/splash-screen';
setTimeout(() => {
    SplashScreen.hide();
  }, 2000);

```

---

<div class="post-metadata">

**Author:** ![hyfydistro](https://avatars.discourse-cdn.com/v4/letter/h/ccd318/32.png) [@hyfydistro](https://forum.ionicframework.com/u/hyfydistro)\
**Post date:** [March 3, 2022, 12:21pm UTC](https://forum.ionicframework.com/t/white-screen-after-splash-and-before-my-home-screen-capacitor-ionic/202724/6 "2022-03-03T12:21:41Z")

</div>

You can change the color in capacitor.config with backgroundColor.

```auto
{
    "appId": "io.ionic.starter",
    "appName": "app",
    "webDir": "build",
    "bundledWebRuntime": false,
    "backgroundColor": "#ff0000" // <-- here lol
}

```

---

<div class="post-metadata">

**Author:** ![odion-cloud](https://avatars.discourse-cdn.com/v4/letter/o/43a26b/32.png) [@odion-cloud](https://forum.ionicframework.com/u/odion-cloud)\
**Post date:** [July 28, 2025, 4:09pm UTC](https://forum.ionicframework.com/t/white-screen-after-splash-and-before-my-home-screen-capacitor-ionic/202724/7 "2025-07-28T16:09:00Z")

</div>

any solution for this in capacitor 7?
