plugin.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one
  4. or more contributor license agreements. See the NOTICE file
  5. distributed with this work for additional information
  6. regarding copyright ownership. The ASF licenses this file
  7. to you under the Apache License, Version 2.0 (the
  8. "License"); you may not use this file except in compliance
  9. with the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing,
  12. software distributed under the License is distributed on an
  13. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  14. KIND, either express or implied. See the License for the
  15. specific language governing permissions and limitations
  16. under the License.
  17. -->
  18. <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
  19. xmlns:rim="http://www.blackberry.com/ns/widgets"
  20. xmlns:android="http://schemas.android.com/apk/res/android"
  21. id="cordova-plugin-statusbar"
  22. version="2.4.2">
  23. <name>StatusBar</name>
  24. <description>Cordova StatusBar Plugin</description>
  25. <license>Apache 2.0</license>
  26. <keywords>cordova,statusbar</keywords>
  27. <engines>
  28. <engine name="cordova" version=">=3.0.0" />
  29. </engines>
  30. <js-module src="www/statusbar.js" name="statusbar">
  31. <clobbers target="window.StatusBar" />
  32. </js-module>
  33. <platform name="android">
  34. <source-file src="src/android/StatusBar.java" target-dir="src/org/apache/cordova/statusbar" />
  35. <config-file target="res/xml/config.xml" parent="/*">
  36. <feature name="StatusBar">
  37. <param name="android-package" value="org.apache.cordova.statusbar.StatusBar" />
  38. <param name="onload" value="true" />
  39. </feature>
  40. </config-file>
  41. </platform>
  42. <platform name="browser">
  43. <js-module src="src/browser/StatusBarProxy.js" name="StatusBarProxy">
  44. <runs />
  45. </js-module>
  46. </platform>
  47. <!-- ios -->
  48. <platform name="ios">
  49. <config-file target="config.xml" parent="/*">
  50. <feature name="StatusBar">
  51. <param name="ios-package" value="CDVStatusBar" />
  52. <param name="onload" value="true" />
  53. </feature>
  54. <preference name="StatusBarOverlaysWebView" value="true" />
  55. <preference name="StatusBarStyle" value="lightcontent" />
  56. </config-file>
  57. <header-file src="src/ios/CDVStatusBar.h" />
  58. <source-file src="src/ios/CDVStatusBar.m" />
  59. </platform>
  60. <!-- wp7 -->
  61. <platform name="wp7">
  62. <config-file target="config.xml" parent="/*">
  63. <feature name="StatusBar">
  64. <param name="wp-package" value="StatusBar"/>
  65. </feature>
  66. </config-file>
  67. <source-file src="src/wp/StatusBar.cs" />
  68. </platform>
  69. <!-- wp8 -->
  70. <platform name="wp8">
  71. <config-file target="config.xml" parent="/*">
  72. <feature name="StatusBar">
  73. <param name="wp-package" value="StatusBar"/>
  74. </feature>
  75. </config-file>
  76. <source-file src="src/wp/StatusBar.cs" />
  77. </platform>
  78. <!-- windows -->
  79. <platform name="windows">
  80. <js-module src="src/windows/StatusBarProxy.js" name="StatusBarProxy">
  81. <runs />
  82. </js-module>
  83. </platform>
  84. </plugin>