UNPKG

4.86 kBXMLView Raw
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
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19-->
20
21<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
22 id="cordova-plugin-splashscreen"
23 version="4.0.0">
24 <name>Splashscreen</name>
25 <description>Cordova Splashscreen Plugin</description>
26 <license>Apache 2.0</license>
27 <keywords>cordova,splashscreen</keywords>
28 <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git</repo>
29 <issue>https://issues.apache.org/jira/browse/CB/component/12320653</issue>
30
31 <engines>
32 <engine name="cordova-android" version=">=3.6.0" /><!-- Requires CordovaPlugin.preferences -->
33 <engine name="cordova-windows" version=">=4.4.0" />
34 </engines>
35
36 <js-module src="www/splashscreen.js" name="SplashScreen">
37 <clobbers target="navigator.splashscreen" />
38 </js-module>
39
40 <!-- android -->
41 <platform name="android">
42 <config-file target="res/xml/config.xml" parent="/*">
43 <feature name="SplashScreen">
44 <param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen"/>
45 <param name="onload" value="true"/>
46 </feature>
47 </config-file>
48
49 <source-file src="src/android/SplashScreen.java" target-dir="src/org/apache/cordova/splashscreen" />
50 </platform>
51
52 <!-- amazon-fireos -->
53 <platform name="amazon-fireos">
54 <config-file target="res/xml/config.xml" parent="/*">
55 <feature name="SplashScreen">
56 <param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen"/>
57 </feature>
58 </config-file>
59
60 <source-file src="src/android/SplashScreen.java" target-dir="src/org/apache/cordova/splashscreen" />
61 </platform>
62
63 <!-- ubuntu -->
64 <platform name="ubuntu">
65 <header-file src="src/ubuntu/splashscreen.h" />
66 <source-file src="src/ubuntu/splashscreen.cpp" />
67 </platform>
68
69 <!-- ios -->
70 <platform name="ios">
71 <config-file target="config.xml" parent="/*">
72 <feature name="SplashScreen">
73 <param name="ios-package" value="CDVSplashScreen"/>
74 <param name="onload" value="true"/>
75 </feature>
76 </config-file>
77
78 <header-file src="src/ios/CDVSplashScreen.h" />
79 <source-file src="src/ios/CDVSplashScreen.m" />
80 <header-file src="src/ios/CDVViewController+SplashScreen.h" />
81 <source-file src="src/ios/CDVViewController+SplashScreen.m" />
82
83 <framework src="CoreGraphics.framework" />
84 </platform>
85
86 <!-- blackberry10 -->
87 <platform name="blackberry10">
88 <source-file src="src/blackberry10/index.js" target-dir="SplashScreen" />
89 <config-file target="www/config.xml" parent="/widget">
90 <feature name="SplashScreen" value="SplashScreen"/>
91 </config-file>
92 </platform>
93
94 <!-- wp8 -->
95 <platform name="wp8">
96 <config-file target="config.xml" parent="/*">
97 <feature name="SplashScreen">
98 <param name="wp-package" value="SplashScreen"/>
99 <param name="onload" value="true"/>
100 </feature>
101 </config-file>
102
103 <source-file src="src/wp/SplashScreen.cs" />
104 <source-file src="src/wp/ResolutionHelper.cs" />
105
106 </platform>
107
108 <!-- windows8 -->
109 <platform name="windows8">
110 <js-module src="www/windows/SplashScreenProxy.js" name="SplashScreenProxy">
111 <merges target="" />
112 </js-module>
113 </platform>
114
115 <!-- windows -->
116 <platform name="windows">
117 <js-module src="www/windows/SplashScreenProxy.js" name="SplashScreenProxy">
118 <merges target="" />
119 </js-module>
120 </platform>
121
122 <!-- tizen -->
123 <platform name="tizen">
124 <js-module src="src/tizen/SplashScreenProxy.js" name="SplashScreenProxy">
125 <runs />
126 </js-module>
127 </platform>
128
129 <!-- browser -->
130 <platform name="browser">
131 <js-module src="src/browser/SplashScreenProxy.js" name="SplashScreenProxy">
132 <runs />
133 </js-module>
134 </platform>
135</plugin>