Two splash screen showing first from android and then ionic capacitor

I am using capacitor With IONIC 4 ,
On android devices The splash screen loading two times.First from android and then Ionic Capacitor.
How can i fix this problem.

could share your code app component.ts

Hi yes,

import { Component } from ‘@angular/core’;
import { Platform } from ‘@ionic/angular’;
import { StatusBar } from ‘@ionic-native/status-bar/ngx’;
import { SplashScreen } from ‘@ionic-native/splash-screen/ngx’;

selector: ‘app-root’,
templateUrl: ‘app.component.html’
export class AppComponent {
private platform: Platform,
private statusBar: StatusBar,
private splashScreen: SplashScreen
) {
initializeApp() {
this.platform.ready().then(() => {
setTimeout(() => {
}, 500);

First android show splash screen this ionic show so loading two times.
Note i am using capacitor not cordova

check your config.xml file, may be platform android -> two splash screen tags

splash density=“port-hdpi” src=“resources/android/splash/drawable-port-hdpi-screen.png” />
splash density=“port-ldpi” src=“resources/android/splash/drawable-port-ldpi-screen.png” />

where is config file… i think its come when we use cordova not when we use capacitor