StatusBar.backgroundColorByHexString not working

Hi all,

This is my code:

  ionic.Platform.ready(function() {
	  if (window.StatusBar) {
	    // org.apache.cordova.statusbar required

I want to change the status bar color, but whatever I do: it doesn’t work at all!

I’ve checked everything and tried everything that is stated here:

Not working at all. Can someone help me please?

PS: testing on Ionic View

1 Like

I have the same issue.
The status bar color did change in android emulator but has no effect at all for real android device.

I have used below code and it works for me.

var isAndroid = ionic.Platform.isAndroid();
if (isAndroid) {