[
https://issues.apache.org/jira/browse/CB-11184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Maynard closed CB-11184.
-----------------------------
Resolution: Invalid
Turns out this is a clash with MobileFirst Platform's MFP plugins. Surprise.
> 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: [email protected]
For additional commands, e-mail: [email protected]