constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen, public keyboard: Keyboard ) { platform.ready().then(() => { console.log = function(){}; statusBar.styleDefault(); splashScreen.hide(); timer(1000).subscribe(() => this.showSplash = false) // <-- hide animation after 3s }); }
// //////////////////////////////////////////////////////////////////////// // // call any initial plugins when ready platformReady ( ) { console.log ( `::enableMenu` ); this._platform.ready().then ( () => { console.log ( `::enableMenu - platform.ready` ); Splashscreen.hide(); } ); }