mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-01-31 10:35:41 +08:00
61024e50b3
This should not be a default ios setting: <preference name="StatusBarBackgroundColor" value="#000000" /> It makes it impossible to unset the initial background color (for transparent backgrounds). Instead just have the default as no background color (which will effectively be transparent), and then allow users to override that with a desired color. Signed-off-by: Shazron Abdullah <shazron@apache.org>
86 lines
2.9 KiB
XML
86 lines
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<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.8-dev">
|
|
<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>
|
|
|
|
<platform name="android">
|
|
<source-file src="src/android/StatusBar.java" target-dir="src/org/apache/cordova/statusbar" />
|
|
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
|
<feature name="StatusBar">
|
|
<param name="android-package" value="org.apache.cordova.statusbar.StatusBar" onload="true" />
|
|
</feature>
|
|
</config-file>
|
|
</platform>
|
|
|
|
<!-- 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="StatusBarStyle" value="lightcontent" />
|
|
</config-file>
|
|
|
|
<header-file src="src/ios/CDVStatusBar.h" />
|
|
<source-file src="src/ios/CDVStatusBar.m" />
|
|
|
|
</platform>
|
|
|
|
<!-- wp7 -->
|
|
<platform name="wp7">
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="StatusBar">
|
|
<param name="wp-package" value="StatusBar"/>
|
|
</feature>
|
|
</config-file>
|
|
<source-file src="src/wp/StatusBar.cs" />
|
|
</platform>
|
|
|
|
<!-- wp8 -->
|
|
<platform name="wp8">
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="StatusBar">
|
|
<param name="wp-package" value="StatusBar"/>
|
|
</feature>
|
|
</config-file>
|
|
<source-file src="src/wp/StatusBar.cs" />
|
|
</platform>
|
|
|
|
</plugin>
|