Bez popisu

plugin.xml 3.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. id="cordova-plugin-splashscreen"
  20. version="5.0.2">
  21. <name>Splashscreen</name>
  22. <description>Cordova Splashscreen Plugin</description>
  23. <license>Apache 2.0</license>
  24. <keywords>cordova,splashscreen</keywords>
  25. <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git</repo>
  26. <issue>https://issues.apache.org/jira/browse/CB/component/12320653</issue>
  27. <engines>
  28. <engine name="cordova-android" version=">=3.6.0" /><!-- Requires CordovaPlugin.preferences -->
  29. <engine name="cordova-windows" version=">=4.4.0" />
  30. </engines>
  31. <js-module src="www/splashscreen.js" name="SplashScreen">
  32. <clobbers target="navigator.splashscreen" />
  33. </js-module>
  34. <!-- android -->
  35. <platform name="android">
  36. <config-file target="res/xml/config.xml" parent="/*">
  37. <feature name="SplashScreen">
  38. <param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen"/>
  39. <param name="onload" value="true"/>
  40. </feature>
  41. </config-file>
  42. <source-file src="src/android/SplashScreen.java" target-dir="src/org/apache/cordova/splashscreen" />
  43. </platform>
  44. <!-- ios -->
  45. <platform name="ios">
  46. <config-file target="config.xml" parent="/*">
  47. <feature name="SplashScreen">
  48. <param name="ios-package" value="CDVSplashScreen"/>
  49. <param name="onload" value="true"/>
  50. </feature>
  51. </config-file>
  52. <header-file src="src/ios/CDVSplashScreen.h" />
  53. <source-file src="src/ios/CDVSplashScreen.m" />
  54. <header-file src="src/ios/CDVViewController+SplashScreen.h" />
  55. <source-file src="src/ios/CDVViewController+SplashScreen.m" />
  56. <framework src="CoreGraphics.framework" />
  57. </platform>
  58. <!-- windows -->
  59. <platform name="windows">
  60. <js-module src="www/windows/SplashScreenProxy.js" name="SplashScreenProxy">
  61. <runs />
  62. </js-module>
  63. </platform>
  64. <!-- browser -->
  65. <platform name="browser">
  66. <js-module src="src/browser/SplashScreenProxy.js" name="SplashScreenProxy">
  67. <runs />
  68. </js-module>
  69. </platform>
  70. </plugin>