mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-01-19 01:12:49 +08:00
49 lines
1.6 KiB
XML
49 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
xmlns:rim="http://www.blackberry.com/ns/widgets"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
id="org.apache.cordova.statusbar"
|
|
version="0.1.0">
|
|
<name>StatusBar</name>
|
|
<description>Cordova StatusBar Plugin</description>
|
|
<license>Apache 2.0</license>
|
|
<keywords>cordova,statusbar</keywords>
|
|
|
|
<engines>
|
|
<engine name="cordova" version=">=3.0.0" />
|
|
</engines>
|
|
|
|
<js-module src="www/statusbar.js" name="statusbar">
|
|
<clobbers target="window.StatusBar" />
|
|
</js-module>
|
|
|
|
<!-- ios -->
|
|
<platform name="ios">
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="StatusBar">
|
|
<param name="ios-package" value="CDVStatusBar" onload="true" />
|
|
</feature>
|
|
<preference name="StatusBarOverlaysWebView" value="true" />
|
|
<preference name="StatusBarBackgroundColor" value="#000000" />
|
|
</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" />
|
|
|
|
<info>
|
|
Add this key and value to your project's Info.plist:
|
|
<key>UIViewControllerBasedStatusBarAppearance</key>
|
|
<false/>
|
|
</info>
|
|
</platform>
|
|
|
|
</plugin>
|