Jeremy Belolo
Jeremy Belolo

Reputation: 4539

Cordova - Android status bar plugin

So this plugin exists : https://github.com/apache/cordova-plugin-statusbar

But as stated in its doc here : https://github.com/apache/cordova-plugin-statusbar/blob/master/doc/index.md

Only show, hide and method to check if visible are available for Android.

Since Android 4.4 release, it's possible to customize the status bar much better - even better now that Android 5.0 came to our way.

So does someone knows if there is another plugin that did it already ? I didn't find anything. Elsewhere, do you think modifying this plugin could be easily done ?

Thanks ahead !

Upvotes: 1

Views: 6013

Answers (2)

Lucas Z.
Lucas Z.

Reputation: 435

For all who had the problem, i solved it installing:

https://github.com/apache/cordova-plugin-statusbar

In config.xml:

<preference name="StatusBarBackgroundColor" value="#00000"/>

Thanks for all.

Upvotes: 1

Eddy Verbruggen
Eddy Verbruggen

Reputation: 3550

if changing the statubar color in Lollipop is what you're after, then you'd be pleased to learn I just added that option to the cordova statusbar plugin you referred to: https://github.com/apache/cordova-plugin-statusbar

Upvotes: 3

Related Questions