Starusbar color transition

I am developing an application that uses two different colors in the statusbar. One when it is up and another when I scroll.
I am using the statusbar plugin and

use app.statusbar.setTextColor (color) and app.statusbar.setBackgroundColor (hex)

The color change works perfect

But I wanted to know if any transisition effect can be applied to the color change since the change is very abrupt

I think you can use regular css transitions. Although I don’t know the correct selector for the statusbar element, it should be something like this:

.statusbar {
  transition: background-color 0.5s ease;
1 Like

And if it is a native statusbar (e.g. in Android cordova app) then there is no way to make it change with transition