Problem with status bar color during splashscreen load


#1

I am using the ionic https://github.com/apache/cordova-plugin-statusbar.git plugin.

And it works fine but when the app loads at the splash screen it doesn’t implement the color chosen during the splash screen.

my code in app.js is

   if (window.StatusBar) {
    if (ionic.Platform.isAndroid()) {
      StatusBar.backgroundColorByHexString("#11c1f3");
    } else {
      StatusBar.styleLightContent();
    }
  }