Utilize Ionic Native status bar by following these steps:
npm install @ionic-native/core --save
ionic cordova plugin add cordova-plugin-statusbar
npm install --save @ionic-native/status-bar
Integrate Plugins into Your App's Module
`
...
import { StatusBar} from '@ionic-native/status-bar';
...
@NgModule({
...
providers: [
...
StatusBar
...
]
...
})
export class AppModule { }
`
Next, implement it in your rootPage:
`
import { StatusBar } from '@ionic-native/status-bar';
constructor(private statusBar: StatusBar) { }
...
// let status bar overlay webview
this.statusBar.overlaysWebView(true);
// set status bar to white
this.statusBar.backgroundColorByHexString('#ffffff');
`
For further details and resources, visit: https://ionicframework.com/docs/native/status-bar/