Added statusbar preferences to plugin.xml

Removed Info.plist section in plugin xml due to crash: https://issues.apache.org/jira/browse/CB-5012
This commit is contained in:
Shazron Abdullah
2013-10-07 15:13:32 -07:00
parent 058c6b71cc
commit 690de48214
2 changed files with 57 additions and 7 deletions
+5
View File
@@ -24,12 +24,17 @@
<feature name="StatusBar">
<param name="ios-package" value="CDVStatusBar" onload="true" />
</feature>
<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="StatusBarBackgroundColor" value="#000000" />
<preference name="StatusBarStyle" value="lightContent" /> <!-- default, lightContent, blackTranslucent, blackOpaque -->
</config-file>
<!-- add this manually for now, crash bug - see https://issues.apache.org/jira/browse/CB-5012
<config-file target="*-Info.plist" parent="UIViewControllerBasedStatusBarAppearance" >
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</config-file>
-->
<header-file src="src/ios/CDVStatusBar.h" />
<source-file src="src/ios/CDVStatusBar.m" />