Statusbar backgroundColorByHexString doesn't work

Ionic statusbar is not properly working in Android N

I want to change the color of statusbar according to different colors of the page. For that I used -

this.statusBar.backgroundColorByHexString('#e84240');

works well in Android Marshmallow, but doesn’t work in Android N.

Is this a plugin bug?? How can I resolve this?

Thanks

1 Like

Did you look at the Cordova plugin’s Github issues to see if someone else is reporting problems with Android N?

I tried that, but I can’t access to the list of reported issues. In github page GitHub - apache/cordova-plugin-statusbar: Apache Cordova Status Bar Plugin, they have given the link to their issue tracker, but i get this error -

The value ‘Plugin Statusbar’ does not exist for the field ‘component’.

Correct link: https://issues.apache.org/jira/browse/CB-9742?jql=project%20%3D%20CB%20AND%20status%20in%20(Open%2C%20"In%20Progress"%2C%20Reopened)%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20"cordova-plugin-statusbar"%20ORDER%20BY%20priority%20DESC%2C%20summary%20ASC%2C%20updatedDate%20DESC