UNPKG

12 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-inappbrowser"
23 version="1.7.1">
24
25 <name>InAppBrowser</name>
26 <description>Cordova InAppBrowser Plugin</description>
27 <license>Apache 2.0</license>
28 <keywords>cordova,in,app,browser,inappbrowser</keywords>
29 <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git</repo>
30 <issue>https://issues.apache.org/jira/browse/CB/component/12320641</issue>
31
32 <engines>
33 <engine name="cordova" version=">=3.1.0" /><!-- Needs cordova/urlutil -->
34 </engines>
35
36 <!-- android -->
37 <platform name="android">
38 <js-module src="www/inappbrowser.js" name="inappbrowser">
39 <clobbers target="cordova.InAppBrowser.open" />
40 <clobbers target="window.open" />
41 </js-module>
42 <config-file target="res/xml/config.xml" parent="/*">
43 <feature name="InAppBrowser">
44 <param name="android-package" value="org.apache.cordova.inappbrowser.InAppBrowser"/>
45 </feature>
46 </config-file>
47
48 <source-file src="src/android/InAppBrowser.java" target-dir="src/org/apache/cordova/inappbrowser" />
49 <source-file src="src/android/InAppBrowserDialog.java" target-dir="src/org/apache/cordova/inappbrowser" />
50 <source-file src="src/android/InAppChromeClient.java" target-dir="src/org/apache/cordova/inappbrowser" />
51
52 <!-- drawable src/android/resources -->
53 <resource-file src="src/android/res/drawable-hdpi/ic_action_next_item.png" target="res/drawable-hdpi/ic_action_next_item.png" />
54 <resource-file src="src/android/res/drawable-mdpi/ic_action_next_item.png" target="res/drawable-mdpi/ic_action_next_item.png" />
55 <resource-file src="src/android/res/drawable-xhdpi/ic_action_next_item.png" target="res/drawable-xhdpi/ic_action_next_item.png" />
56 <resource-file src="src/android/res/drawable-xxhdpi/ic_action_next_item.png" target="res/drawable-xxhdpi/ic_action_next_item.png" />
57
58 <resource-file src="src/android/res/drawable-hdpi/ic_action_previous_item.png" target="res/drawable-hdpi/ic_action_previous_item.png" />
59 <resource-file src="src/android/res/drawable-mdpi/ic_action_previous_item.png" target="res/drawable-mdpi/ic_action_previous_item.png" />
60 <resource-file src="src/android/res/drawable-xhdpi/ic_action_previous_item.png" target="res/drawable-xhdpi/ic_action_previous_item.png" />
61 <resource-file src="src/android/res/drawable-xxhdpi/ic_action_previous_item.png" target="res/drawable-xxhdpi/ic_action_previous_item.png" />
62
63 <resource-file src="src/android/res/drawable-hdpi/ic_action_remove.png" target="res/drawable-hdpi/ic_action_remove.png" />
64 <resource-file src="src/android/res/drawable-mdpi/ic_action_remove.png" target="res/drawable-mdpi/ic_action_remove.png" />
65 <resource-file src="src/android/res/drawable-xhdpi/ic_action_remove.png" target="res/drawable-xhdpi/ic_action_remove.png" />
66 <resource-file src="src/android/res/drawable-xxhdpi/ic_action_remove.png" target="res/drawable-xxhdpi/ic_action_remove.png" />
67
68 </platform>
69
70 <!-- amazon-fireos -->
71 <platform name="amazon-fireos">
72 <js-module src="www/inappbrowser.js" name="inappbrowser">
73 <clobbers target="cordova.InAppBrowser.open" />
74 <clobbers target="window.open" />
75 </js-module>
76 <config-file target="res/xml/config.xml" parent="/*">
77 <feature name="InAppBrowser">
78 <param name="android-package" value="org.apache.cordova.inappbrowser.InAppBrowser"/>
79 </feature>
80 </config-file>
81
82 <source-file src="src/amazon/InAppBrowser.java" target-dir="src/org/apache/cordova/inappbrowser" />
83 <source-file src="src/android/InAppBrowserDialog.java" target-dir="src/org/apache/cordova/inappbrowser" />
84 <source-file src="src/amazon/InAppChromeClient.java" target-dir="src/org/apache/cordova/inappbrowser" />
85
86 <!-- drawable src/android/resources -->
87 <resource-file src="src/android/res/drawable-hdpi/ic_action_next_item.png" target="res/drawable-hdpi/ic_action_next_item.png" />
88 <resource-file src="src/android/res/drawable-mdpi/ic_action_next_item.png" target="res/drawable-mdpi/ic_action_next_item.png" />
89 <resource-file src="src/android/res/drawable-xhdpi/ic_action_next_item.png" target="res/drawable-xhdpi/ic_action_next_item.png" />
90 <resource-file src="src/android/res/drawable-xxhdpi/ic_action_next_item.png" target="res/drawable-xxhdpi/ic_action_next_item.png" />
91
92 <resource-file src="src/android/res/drawable-hdpi/ic_action_previous_item.png" target="res/drawable-hdpi/ic_action_previous_item.png" />
93 <resource-file src="src/android/res/drawable-mdpi/ic_action_previous_item.png" target="res/drawable-mdpi/ic_action_previous_item.png" />
94 <resource-file src="src/android/res/drawable-xhdpi/ic_action_previous_item.png" target="res/drawable-xhdpi/ic_action_previous_item.png" />
95 <resource-file src="src/android/res/drawable-xxhdpi/ic_action_previous_item.png" target="res/drawable-xxhdpi/ic_action_previous_item.png" />
96
97 <resource-file src="src/android/res/drawable-hdpi/ic_action_remove.png" target="res/drawable-hdpi/ic_action_remove.png" />
98 <resource-file src="src/android/res/drawable-mdpi/ic_action_remove.png" target="res/drawable-mdpi/ic_action_remove.png" />
99 <resource-file src="src/android/res/drawable-xhdpi/ic_action_remove.png" target="res/drawable-xhdpi/ic_action_remove.png" />
100 <resource-file src="src/android/res/drawable-xxhdpi/ic_action_remove.png" target="res/drawable-xxhdpi/ic_action_remove.png" />
101 </platform>
102
103 <!-- ubuntu -->
104 <platform name="ubuntu">
105 <js-module src="www/inappbrowser.js" name="inappbrowser">
106 <clobbers target="cordova.InAppBrowser.open" />
107 <clobbers target="window.open" />
108 </js-module>
109 <header-file src="src/ubuntu/inappbrowser.h" />
110 <source-file src="src/ubuntu/inappbrowser.cpp" />
111 <resource-file src="src/ubuntu/InAppBrowser.qml" />
112 <resource-file src="src/ubuntu/InAppBrowser_escapeScript.js" />
113 <resource-file src="src/ubuntu/close.png" />
114 </platform>
115
116 <!-- ios -->
117 <platform name="ios">
118 <js-module src="www/inappbrowser.js" name="inappbrowser">
119 <clobbers target="cordova.InAppBrowser.open" />
120 <clobbers target="window.open" />
121 </js-module>
122 <config-file target="config.xml" parent="/*">
123 <feature name="InAppBrowser">
124 <param name="ios-package" value="CDVInAppBrowser" />
125 </feature>
126 </config-file>
127
128 <header-file src="src/ios/CDVInAppBrowser.h" />
129 <source-file src="src/ios/CDVInAppBrowser.m" />
130
131 <framework src="CoreGraphics.framework" />
132 </platform>
133
134 <!-- osx -->
135 <platform name="osx">
136 <js-module src="www/inappbrowser.js" name="inappbrowser">
137 <clobbers target="cordova.InAppBrowser.open" />
138 <clobbers target="window.open" />
139 </js-module>
140 <config-file target="config.xml" parent="/*">
141 <feature name="InAppBrowser">
142 <param name="osx-package" value="CDVInAppBrowser" />
143 </feature>
144 </config-file>
145
146 <header-file src="src/osx/CDVInAppBrowser.h" />
147 <source-file src="src/osx/CDVInAppBrowser.m" />
148 </platform>
149
150 <!-- wp7 -->
151 <platform name="wp7">
152 <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
153 <Capability Name="ID_CAP_NETWORKING"/>
154 </config-file>
155
156 <js-module src="www/inappbrowser.js" name="inappbrowser">
157 <clobbers target="cordova.InAppBrowser.open" />
158 <clobbers target="window.open" />
159 </js-module>
160 <config-file target="config.xml" parent="/*">
161 <feature name="InAppBrowser">
162 <param name="wp-package" value="InAppBrowser"/>
163 </feature>
164 </config-file>
165
166 <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
167 <Capability Name="ID_CAP_NETWORKING" />
168 </config-file>
169
170 <source-file src="src/wp/InAppBrowser.cs" />
171 </platform>
172
173 <!-- wp8 -->
174 <platform name="wp8">
175 <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
176 <Capability Name="ID_CAP_NETWORKING"/>
177 </config-file>
178
179 <js-module src="www/inappbrowser.js" name="inappbrowser">
180 <clobbers target="cordova.InAppBrowser.open" />
181 <clobbers target="window.open" />
182 </js-module>
183 <config-file target="config.xml" parent="/*">
184 <feature name="InAppBrowser">
185 <param name="wp-package" value="InAppBrowser"/>
186 </feature>
187 </config-file>
188
189 <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
190 <Capability Name="ID_CAP_NETWORKING" />
191 </config-file>
192
193 <source-file src="src/wp/InAppBrowser.cs" />
194 </platform>
195
196 <!-- windows8 -->
197 <platform name="windows8">
198 <js-module src="www/inappbrowser.js" name="inappbrowser">
199 <clobbers target="cordova.InAppBrowser.open" />
200 <clobbers target="window.open" />
201 </js-module>
202 <js-module src="www/windows8/InAppBrowserProxy.js" name="InAppBrowserProxy">
203 <merges target="" />
204 </js-module>
205 </platform>
206
207 <!-- windows universal apps (Windows 8.1, Windows Phone 8.1, Windows 8.0) -->
208 <platform name="windows">
209 <js-module src="www/inappbrowser.js" name="inappbrowser">
210 <clobbers target="cordova.InAppBrowser.open" />
211 <clobbers target="window.open" />
212 </js-module>
213 <js-module src="src/windows/InAppBrowserProxy.js" name="InAppBrowserProxy">
214 <runs />
215 </js-module>
216 <asset src="www/inappbrowser.css" target="css/inappbrowser.css" />
217 </platform>
218
219 <!-- firefoxos -->
220 <platform name="firefoxos">
221 <config-file target="config.xml" parent="/*">
222 <permission name="browser" description="Enables the app to implement a browser in an iframe." privileged="true"/>
223 </config-file>
224 <js-module src="www/inappbrowser.js" name="inappbrowser">
225 <clobbers target="cordova.InAppBrowser.open" />
226 <clobbers target="window.open" />
227 </js-module>
228 <js-module src="src/firefoxos/InAppBrowserProxy.js" name="InAppBrowserProxy">
229 <runs />
230 </js-module>
231 </platform>
232
233 <!-- browser -->
234 <platform name="browser">
235 <js-module src="www/inappbrowser.js" name="inappbrowser">
236 <clobbers target="cordova.InAppBrowser.open" />
237 <clobbers target="window.open" />
238 </js-module>
239 <js-module src="src/browser/InAppBrowserProxy.js" name="InAppBrowserProxy">
240 <runs />
241 </js-module>
242 </platform>
243</plugin>