I'm using Cordova's StatusBar and SplashScreen. I want the app to launch fullscreen i.e. status bar to be hidden when the app launches.
In the deviceready
callback, I'm invoking StatusBar.hide()
and later on I use StatusBar.show()
to show the status bar again. This works fine.
The issue is when the splash image appears, the status bar is visible. And when the deviceready
callback if fired, the status bar hides. I even tried setting Fullscreen preference in config.xml to true, but the result is same. Hide at Startup configuration is also related to iOS only.
Is there a way (using Cordova only) to launch the app without status bar and show it later on?
Note: I'm using SplashScreen plugin to show splash screen