Ionic 4 Statusbar not working

#1

I am working on an app and using status bar native. When I open the app the status bar is not working on the home page. But when we return to the home page from a different page then the status bar is working.

#2

Make sure your call to any Cordova plugin occurs after the platform is ready.

#3

Thanks,
But can you please tell me how to do that.