Hi, I’ve been trying to disable the default SplashScreen, but I can’t get it to go away.
Following the Capacitor 3.0 config, I have tried the following:
import { Platform } from '@ionic/angular';
import { Plugins } from '@capacitor/core'
const { SplashScreen } = Plugins;
export class AppComponent {
constructor(private platform: Platform) {
this.initializeApp();
}
initializeApp() {
this.platform.ready().then(async () => {
SplashScreen.hide();
});
}
ngOnInit() {
}
}
But didnt work, and this is my SplasScreen config:
"SplashScreen": {
"launchAutoHide": false,
"androidScaleType": "CENTER_CROP",
"launchShowDuration": 0,
"splashFullScreen": true,
"splashImmersive": false,
"backgroundColor": "#ffffff"
}
Can anyone know why it is?