Need help upgrading to Ionic Framework 4.0? Get assistance with our Enterprise Migration Services EXPLORE NOW

Splash Screen

Improve this doc

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

  1. Install the Cordova and Ionic Native plugins:
    $ ionic cordova plugin add cordova-plugin-splashscreen
    $ npm install --save @ionic-native/splash-screen@4
    
  2. Add this plugin to your app's module

Supported platforms

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

API

Native

General