Splash Screen
This plugin displays and hides a splash screen during application launch. The methods below allows showing and hiding the splashscreen after the app has loaded.
https://github.com/apache/cordova-plugin-splashscreen
Stuck on a Cordova issue?
If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.
Installation#
- Capacitor
- Cordova
- Enterprise
$ npm install cordova-plugin-splashscreen $ npm install @ionic-native/splash-screen $ ionic cap sync
$ ionic cordova plugin add cordova-plugin-splashscreen $ npm install @ionic-native/splash-screen
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us
#
Supported Platforms- Amazon Fire OS
- Android
- iOS
- Windows
#
CapacitorNot Compatible
#
Usage#
ReactLearn more about using Ionic Native components in React
#
Angularimport { SplashScreen } from '@ionic-native/splash-screen/ngx';
constructor(private splashScreen: SplashScreen) { }
...
this.splashScreen.show();
this.splashScreen.hide();