add codegrepper 1

add codegrepper

status bar

ionic cordova plugin add cordova-plugin-statusbar 
npm install @awesome-cordova-plugins/status-bar 
npm install @awesome-cordova-plugins/core --save

Here is what the above code is Doing:
1. We’re importing the StatusBar plugin from the @ionic-native/status-bar package.
2. We’re adding the StatusBar plugin to the providers array in the @NgModule decorator.
3. We’re injecting the StatusBar plugin into the constructor of the app.component.ts file.
4. We’re calling the StatusBar plugin’s styleDefault() method to set the status bar to the default style.

Similar Posts