Building apps at a large company? Check out Ionic Enterprise

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
    
  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