UNPKG

4.8 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="3.2.1">
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 </engines>
34
35 <js-module src="www/splashscreen.js" name="SplashScreen">
36 <clobbers target="navigator.splashscreen" />
37 </js-module>
38
39 <!-- android -->
40 <platform name="android">
41 <config-file target="res/xml/config.xml" parent="/*">
42 <feature name="SplashScreen">
43 <param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen"/>
44 <param name="onload" value="true"/>
45 </feature>
46 </config-file>
47
48 <source-file src="src/android/SplashScreen.java" target-dir="src/org/apache/cordova/splashscreen" />
49 </platform>
50
51 <!-- amazon-fireos -->
52 <platform name="amazon-fireos">
53 <config-file target="res/xml/config.xml" parent="/*">
54 <feature name="SplashScreen">
55 <param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen"/>
56 </feature>
57 </config-file>
58
59 <source-file src="src/android/SplashScreen.java" target-dir="src/org/apache/cordova/splashscreen" />
60 </platform>
61
62 <!-- ubuntu -->
63 <platform name="ubuntu">
64 <header-file src="src/ubuntu/splashscreen.h" />
65 <source-file src="src/ubuntu/splashscreen.cpp" />
66 </platform>
67
68 <!-- ios -->
69 <platform name="ios">
70 <config-file target="config.xml" parent="/*">
71 <feature name="SplashScreen">
72 <param name="ios-package" value="CDVSplashScreen"/>
73 <param name="onload" value="true"/>
74 </feature>
75 </config-file>
76
77 <header-file src="src/ios/CDVSplashScreen.h" />
78 <source-file src="src/ios/CDVSplashScreen.m" />
79 <header-file src="src/ios/CDVViewController+SplashScreen.h" />
80 <source-file src="src/ios/CDVViewController+SplashScreen.m" />
81
82 <framework src="CoreGraphics.framework" />
83 </platform>
84
85 <!-- blackberry10 -->
86 <platform name="blackberry10">
87 <source-file src="src/blackberry10/index.js" target-dir="SplashScreen" />
88 <config-file target="www/config.xml" parent="/widget">
89 <feature name="SplashScreen" value="SplashScreen"/>
90 </config-file>
91 </platform>
92
93 <!-- wp8 -->
94 <platform name="wp8">
95 <config-file target="config.xml" parent="/*">
96 <feature name="SplashScreen">
97 <param name="wp-package" value="SplashScreen"/>
98 <param name="onload" value="true"/>
99 </feature>
100 </config-file>
101
102 <source-file src="src/wp/SplashScreen.cs" />
103 <source-file src="src/wp/ResolutionHelper.cs" />
104
105 </platform>
106
107 <!-- windows8 -->
108 <platform name="windows8">
109 <js-module src="www/windows/SplashScreenProxy.js" name="SplashScreenProxy">
110 <merges target="" />
111 </js-module>
112 </platform>
113
114 <!-- windows -->
115 <platform name="windows">
116 <js-module src="www/windows/SplashScreenProxy.js" name="SplashScreenProxy">
117 <merges target="" />
118 </js-module>
119 </platform>
120
121 <!-- tizen -->
122 <platform name="tizen">
123 <js-module src="src/tizen/SplashScreenProxy.js" name="SplashScreenProxy">
124 <runs />
125 </js-module>
126 </platform>
127
128 <!-- browser -->
129 <platform name="browser">
130 <js-module src="src/browser/SplashScreenProxy.js" name="SplashScreenProxy">
131 <runs />
132 </js-module>
133 </platform>
134</plugin>