Use the instances that Angular injects in the constructor objects (DI) instead of the static methods of the StatusBar and the SplashScreen classes, as shown below.:
initializeApp() {
this.platform.ready().then(() => {
this.statusBar.styleDefault();
this.splashScreen.hide();
});
}