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