1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
22 | id="cordova-plugin-inappbrowser"
|
23 | version="3.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" />
|
34 | </engines>
|
35 |
|
36 |
|
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 |
|
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 |
|
71 | <platform name="ios">
|
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="config.xml" parent="/*">
|
77 | <feature name="InAppBrowser">
|
78 | <param name="ios-package" value="CDVInAppBrowser" />
|
79 | <param name="onload" value="true" />
|
80 | </feature>
|
81 | <feature name="UIInAppBrowser">
|
82 | <param name="ios-package" value="CDVUIInAppBrowser" />
|
83 | <param name="onload" value="true" />
|
84 | </feature>
|
85 | <feature name="WKInAppBrowser">
|
86 | <param name="ios-package" value="CDVWKInAppBrowser" />
|
87 | <param name="onload" value="true" />
|
88 | </feature>
|
89 | </config-file>
|
90 |
|
91 | <header-file src="src/ios/CDVInAppBrowser.h" />
|
92 | <source-file src="src/ios/CDVInAppBrowser.m" />
|
93 | <header-file src="src/ios/CDVInAppBrowserOptions.h" />
|
94 | <source-file src="src/ios/CDVInAppBrowserOptions.m" />
|
95 | <header-file src="src/ios/CDVInAppBrowserNavigationController.h" />
|
96 | <source-file src="src/ios/CDVInAppBrowserNavigationController.m" />
|
97 | <header-file src="src/ios/CDVUIInAppBrowser.h" />
|
98 | <source-file src="src/ios/CDVUIInAppBrowser.m" />
|
99 | <header-file src="src/ios/CDVWKInAppBrowser.h" />
|
100 | <source-file src="src/ios/CDVWKInAppBrowser.m" />
|
101 | <header-file src="src/ios/CDVWKInAppBrowserUIDelegate.h" />
|
102 | <source-file src="src/ios/CDVWKInAppBrowserUIDelegate.m" />
|
103 |
|
104 | <framework src="CoreGraphics.framework" />
|
105 | </platform>
|
106 |
|
107 |
|
108 | <platform name="osx">
|
109 | <js-module src="www/inappbrowser.js" name="inappbrowser">
|
110 | <clobbers target="cordova.InAppBrowser.open" />
|
111 | <clobbers target="window.open" />
|
112 | </js-module>
|
113 | <config-file target="config.xml" parent="/*">
|
114 | <feature name="InAppBrowser">
|
115 | <param name="osx-package" value="CDVInAppBrowser" />
|
116 | </feature>
|
117 | </config-file>
|
118 |
|
119 | <header-file src="src/osx/CDVInAppBrowser.h" />
|
120 | <source-file src="src/osx/CDVInAppBrowser.m" />
|
121 | </platform>
|
122 |
|
123 |
|
124 | <platform name="windows">
|
125 | <js-module src="www/inappbrowser.js" name="inappbrowser">
|
126 | <clobbers target="cordova.InAppBrowser.open" />
|
127 | <clobbers target="window.open" />
|
128 | </js-module>
|
129 | <js-module src="src/windows/InAppBrowserProxy.js" name="InAppBrowserProxy">
|
130 | <runs />
|
131 | </js-module>
|
132 | <asset src="www/inappbrowser.css" target="css/inappbrowser.css" />
|
133 | </platform>
|
134 |
|
135 |
|
136 | <platform name="browser">
|
137 | <js-module src="www/inappbrowser.js" name="inappbrowser">
|
138 | <clobbers target="cordova.InAppBrowser.open" />
|
139 | <clobbers target="window.open" />
|
140 | </js-module>
|
141 | <js-module src="src/browser/InAppBrowserProxy.js" name="InAppBrowserProxy">
|
142 | <runs />
|
143 | </js-module>
|
144 | </platform>
|
145 | </plugin>
|