Status bar overlay on Android

I am having some issues with Ionic on Android. I think the problem occurred when I updated the Ionic version for my app. Problem is that the status bar doesn’t overlay the webview. I have tried setting the StatusBarOverlaysWebView preference to true in config.xml and I’ve tried calling the different methods of the global StatusBar object with no success. I can control the status bar’s background color and visibility, but I can’t get it to overlay the webview. This is what it looks like right now


If i remember correctly there is margin-top: 44px somewhere in ionic css. If you want status bar to have same color as your app you need plugin called statusbar.

try to add this to the controller :