Can i display the SplashScreen in the app when i want?

I’m trying to show the splashscreen using a button but I can’t… I can bind to a function display for a short lapse of time the SplashScreen?

What did you try?
Did you look at the functionality offered by the SplashScreen plugin?

I want to show the splashscreen in the middle of an app, into a function binded to a button.

Yeah, i look the functionality, there are a method called, doesn’t works

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.


import { SplashScreen } from '@ionic-native/splash-screen';

constructor(private splashScreen: SplashScreen) { }



What does that mean? Do you get an error? Where and how are you testing?

Finally it works… Sorry for waste your time

1 Like