Please describe the question in detail and share your code, configuration, and other relevant info.
How can I disable splash screen option?
I put splashScreen.hide() on app.component.ts but it’s not working and ‘splashscreen’ is empty on capacitor.config.json but it’s still showing splash screen
Below is mine app.component.ts code
import { Plugins } from '@capacitor/core';
const { capacitorSplashScreen } = Plugins;
initializeApp() {
this.platform.ready().then(() => {
this.statusBar.styleDefault();
this.splashScreen.hide();
capacitorSplashScreen.hide();
});
}
capacitor.config.json
"SplashScreen": {
"launchAutoHide": false
}
and if I use ‘launchAutoHide’ as you can see above on app start i only see splashscreen nothing else.
and i also want to know how I can change icon on capacitor. I changed mostly icon by going to ‘res’ folder but still on android I see default icon of capacitor