cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Borg (JIRA)" <>
Subject [jira] [Commented] (CB-13792) Settings in config.xml seem to have no effect
Date Fri, 19 Jan 2018 13:11:00 GMT


Anders Borg commented on CB-13792:

I checked whether there would be a difference if I put the settings in config.xml outside
of a "<platform name="ios">", but it didn't. It seems the iOS plugin code simply ignores
settings in config.xml, and only uses dynamic settings.

> Settings in config.xml seem to have no effect
> ---------------------------------------------
>                 Key: CB-13792
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-statusbar
>    Affects Versions: cordova-ios 4.5.0
>         Environment: cli-7.1.0 with iOS 4.5.4
> cordova-plugin-statusbar 2.4.1
> Building with PhoneGap Build
>            Reporter: Anders Borg
>            Priority: Minor
>              Labels: cordova-plugin-statusbar, ios
> These settings seem to do nothing at all on iOS:
> <preference name="StatusBarOverlaysWebView" value="false" />
>  <preference name="StatusBarBackgroundColor" value="#ffffff" />
>  <preference name="StatusBarStyle" value="default" />
> (the status bar still overlays the app window and colors are not changed)
> I need to do this to get the intended effect:
> StatusBar.overlaysWebView(false);
>  StatusBar.backgroundColorByHexString("#ffffff");
>  StatusBar.styleDefault();
> This behavior is not obvious to me from reading the documentation.
> As there's a workaround with dynamic settings, it's not a showstopper, but the drawback
is that the dynamic setting is not done until Cordova is ready, so there's some "jerkiness"
to the UX.
> Cheers,
> Anders

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message