UNPKG

6.32 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="4.1.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://github.com/apache/cordova-plugin-inappbrowser</repo>
30 <issue>https://github.com/apache/cordova-plugin-inappbrowser/issues</issue>
31
32 <engines>
33 <engine name="cordova" version=">=3.1.0" /><!-- Needs cordova/urlutil -->
34 <engine name="cordova-ios" version=">=4.0.0" />
35 </engines>
36
37 <!-- android -->
38 <platform name="android">
39 <js-module src="www/inappbrowser.js" name="inappbrowser">
40 <clobbers target="cordova.InAppBrowser.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 <!-- ios -->
71 <platform name="ios">
72 <js-module src="www/inappbrowser.js" name="inappbrowser">
73 <clobbers target="cordova.InAppBrowser.open" />
74 </js-module>
75 <config-file target="config.xml" parent="/*">
76 <feature name="InAppBrowser">
77 <param name="ios-package" value="CDVWKInAppBrowser" />
78 <param name="onload" value="true" />
79 </feature>
80 </config-file>
81 <header-file src="src/ios/CDVInAppBrowserOptions.h" />
82 <source-file src="src/ios/CDVInAppBrowserOptions.m" />
83 <header-file src="src/ios/CDVInAppBrowserNavigationController.h" />
84 <source-file src="src/ios/CDVInAppBrowserNavigationController.m" />
85 <header-file src="src/ios/CDVWKInAppBrowser.h" />
86 <source-file src="src/ios/CDVWKInAppBrowser.m" />
87 <header-file src="src/ios/CDVWKInAppBrowserUIDelegate.h" />
88 <source-file src="src/ios/CDVWKInAppBrowserUIDelegate.m" />
89
90 <framework src="CoreGraphics.framework" />
91 </platform>
92
93 <!-- osx -->
94 <platform name="osx">
95 <js-module src="www/inappbrowser.js" name="inappbrowser">
96 <clobbers target="cordova.InAppBrowser.open" />
97 </js-module>
98 <config-file target="config.xml" parent="/*">
99 <feature name="InAppBrowser">
100 <param name="osx-package" value="CDVInAppBrowser" />
101 </feature>
102 </config-file>
103
104 <header-file src="src/osx/CDVInAppBrowser.h" />
105 <source-file src="src/osx/CDVInAppBrowser.m" />
106 </platform>
107
108 <!-- windows -->
109 <platform name="windows">
110 <js-module src="www/inappbrowser.js" name="inappbrowser">
111 <clobbers target="cordova.InAppBrowser.open" />
112 </js-module>
113 <js-module src="src/windows/InAppBrowserProxy.js" name="InAppBrowserProxy">
114 <runs />
115 </js-module>
116 <asset src="www/inappbrowser.css" target="css/inappbrowser.css" />
117 </platform>
118
119 <!-- browser -->
120 <platform name="browser">
121 <js-module src="www/inappbrowser.js" name="inappbrowser">
122 <clobbers target="cordova.InAppBrowser.open" />
123 </js-module>
124 <js-module src="src/browser/InAppBrowserProxy.js" name="InAppBrowserProxy">
125 <runs />
126 </js-module>
127 </platform>
128</plugin>