It is possible to disable the SplashScreen in the code?

I know it can be disabled in config.xml giving value = “none” but I need to do it in the code

What code do you want to disable it in?

In general the splashscreen is shown before your Ionic code is loaded and executed by the native container app.

The idea is to do it on a page, before the app restarts so does not show it

As I said, there is no Ionic code executed when the splashscreen is shown. This is done in the static part of the native app, which can be configured via config.xml on compile time. You can’t do anyhting here on run time.

thanks for your help