Phonegap: cordova-plugin-statusbar does not change the background color of the status bar?


Phonegap: cordova-plugin-statusbar does not change the background color of the status bar?



I am using cordova-plugin-statusbar plugin in my project.


cordova-plugin-statusbar



I need to change the background colour of the status bar to black and white icons/texts in my app.



So I have this in my config.xml file:


config.xml


<plugin name="cordova-plugin-statusbar" source="npm"/>

<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="StatusBarBackgroundColor" value="#000000" />
<preference name="StatusBarStyle" value="lightcontent" />



But when I run my project/APP on MY iPhones, the texts/icons are white but the background of the statusbar is not black. it is in fact white!



Am I missing something here?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

JMeter fails on beanshell imports

Why in node-red my HTTP POST no receive payload from inject?

PHP contact form sending but not receiving emails