cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Maynard (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-11184) StatusBar plugin on iOS has no effect if README instructions are followed
Date Sat, 30 Apr 2016 21:51:12 GMT
Nick Maynard created CB-11184:
---------------------------------

             Summary: StatusBar plugin on iOS has no effect if README instructions are followed
                 Key: CB-11184
                 URL: https://issues.apache.org/jira/browse/CB-11184
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Statusbar
         Environment: iOS
            Reporter: Nick Maynard


* `cordova create test`
* `cd test`
* `cordova platform add ios`
* `cordova plugin add cordova-plugin-statusbar`
* Add following to config.xml:
```
<feature name="StatusBar">
  <param name="ios-package" value="CDVStatusBar" onload="true" />
</feature>
<preference name="StatusBarStyle" value="blackopaque" />
```
* `cordova run`

Observe - no change to the status bar.

The README is unclear on what is actually required to make this plugin work.  Given the above,
the only method that appears to work is to add the following to the application plist:
```
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
```

However, this nugget is buried inside the "Hiding at startup" heading.  Which is inappropriate
for an item of config that is critical to make the plugin work at all.

Additionally, modifying the plist is something that is not simple for a newcomer to Cordova,
particularly if the advice to avoid checking in plugins/platforms is followed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message