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.
Repo: https://github.com/apache/cordova-plugin-splashscreen
Installation
- Install the Cordova and Ionic Native plugins:
$ ionic cordova plugin add cordova-plugin-splashscreen $ npm install --save @ionic-native/splash-screen@4
- Add this plugin to your app's module
Supported platforms
- Amazon Fire OS
- Android
- iOS
- Windows
Usage
import { SplashScreen } from '@ionic-native/splash-screen';
constructor(private splashScreen: SplashScreen) { }
...
this.splashScreen.show();
this.splashScreen.hide();
Instance Members
show()
Shows the splashscreen
hide()
Hides the splashscreen