Status bar appear when notification panel drop down is opened


#1

Hi guys, I have a big problem with status bar component. When app start it’s work fine but when I open drop down notification panel status bar appear as a small rectangular white… What can I do for fix it?
I just use this code:

if (window.StatusBar) {
      // org.apache.cordova.statusbar required
      //StatusBar.styleDefault();
      StatusBar.hide();
      if (ionic.Platform.isAndroid()) {
        window.AndroidFullScreen.immersiveMode(false, false);
        Ionic.Platform.fullScreen(true,false);
      }
    }

and I just remove and added the plugin too many times but nothing is changed.

I remove two lines from config.xml

and works better, but in ios statusbar is visible