Github user miscer commented on the pull request:

    
https://github.com/apache/cordova-plugin-statusbar/pull/30#issuecomment-126207327
  
    Yes, it does ignore the first preference, but sometimes the default value 
from plugin.xml is not first, but second in the code. In my case it happened 
when adding the iOS platform after installing the plugin:
    
    (in config.xml)
    ```xml
    <preference name="StatusBarOverlaysWebView" value="false" />
    ```
    
    (in CLI)
    ```
    cordova plugin add cordova-plugin-statusbar
    cordova platform add ios
    ```
    
    (resulting config.xml in platforms/ios)
    ```xml
    <preference name="StatusBarOverlaysWebView" value="false" />
    ...
    <preference name="StatusBarStyle" value="lightcontent" />
    <preference name="StatusBarOverlaysWebView" value="true" />
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to