UNPKG

11.5 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.2.0">
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 <!-- wp7 -->
135 <platform name="wp7">
136 <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
137 <Capability Name="ID_CAP_NETWORKING"/>
138 </config-file>
139
140 <js-module src="www/inappbrowser.js" name="inappbrowser">
141 <clobbers target="cordova.InAppBrowser.open" />
142 <clobbers target="window.open" />
143 </js-module>
144 <config-file target="config.xml" parent="/*">
145 <feature name="InAppBrowser">
146 <param name="wp-package" value="InAppBrowser"/>
147 </feature>
148 </config-file>
149
150 <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
151 <Capability Name="ID_CAP_NETWORKING" />
152 </config-file>
153
154 <source-file src="src/wp/InAppBrowser.cs" />
155 </platform>
156
157 <!-- wp8 -->
158 <platform name="wp8">
159 <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
160 <Capability Name="ID_CAP_NETWORKING"/>
161 </config-file>
162
163 <js-module src="www/inappbrowser.js" name="inappbrowser">
164 <clobbers target="cordova.InAppBrowser.open" />
165 <clobbers target="window.open" />
166 </js-module>
167 <config-file target="config.xml" parent="/*">
168 <feature name="InAppBrowser">
169 <param name="wp-package" value="InAppBrowser"/>
170 </feature>
171 </config-file>
172
173 <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
174 <Capability Name="ID_CAP_NETWORKING" />
175 </config-file>
176
177 <source-file src="src/wp/InAppBrowser.cs" />
178 </platform>
179
180 <!-- windows8 -->
181 <platform name="windows8">
182 <js-module src="www/inappbrowser.js" name="inappbrowser">
183 <clobbers target="cordova.InAppBrowser.open" />
184 <clobbers target="window.open" />
185 </js-module>
186 <js-module src="www/windows8/InAppBrowserProxy.js" name="InAppBrowserProxy">
187 <merges target="" />
188 </js-module>
189 </platform>
190
191 <!-- windows universal apps (Windows 8.1, Windows Phone 8.1, Windows 8.0) -->
192 <platform name="windows">
193 <js-module src="www/inappbrowser.js" name="inappbrowser">
194 <clobbers target="cordova.InAppBrowser.open" />
195 <clobbers target="window.open" />
196 </js-module>
197 <js-module src="src/windows/InAppBrowserProxy.js" name="InAppBrowserProxy">
198 <merges target="" />
199 </js-module>
200 <asset src="www/inappbrowser.css" target="css/inappbrowser.css" />
201 </platform>
202
203 <!-- firefoxos -->
204 <platform name="firefoxos">
205 <config-file target="config.xml" parent="/*">
206 <permission name="browser" description="Enables the app to implement a browser in an iframe." privileged="true"/>
207 </config-file>
208 <js-module src="www/inappbrowser.js" name="inappbrowser">
209 <clobbers target="cordova.InAppBrowser.open" />
210 <clobbers target="window.open" />
211 </js-module>
212 <js-module src="src/firefoxos/InAppBrowserProxy.js" name="InAppBrowserProxy">
213 <merges target="" />
214 </js-module>
215 </platform>
216
217 <!-- browser -->
218 <platform name="browser">
219 <js-module src="www/inappbrowser.js" name="inappbrowser">
220 <clobbers target="cordova.InAppBrowser.open" />
221 <clobbers target="window.open" />
222 </js-module>
223 <js-module src="src/browser/InAppBrowserProxy.js" name="InAppBrowserProxy">
224 <merges target="" />
225 </js-module>
226 </platform>
227</plugin>