You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Anders Borg (JIRA)" <ji...@apache.org> on 2018/01/18 09:36:00 UTC

[jira] [Created] (CB-13792) Settings in config.xml seem to have no effect

Anders Borg created CB-13792:
--------------------------------

             Summary: Settings in config.xml seem to have no effect
                 Key: CB-13792
                 URL: https://issues.apache.org/jira/browse/CB-13792
             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


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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org