Statusbar backgroundColorByHexString doesn't work


#1

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


#2

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


#3

I tried that, but I can’t access to the list of reported issues. In github page https://github.com/apache/cordova-plugin-statusbar, 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’.


#4

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