-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathplugin.xml
75 lines (60 loc) · 2.7 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="kunder-cordova-plugin-webview"
version="2.8.0">
<name>Cordova Second Webview</name>
<author href="http://kunder.cl">kunder</author>
<description>
This cordova plugin enables you to open a second webview in your app.
This webview is totally independent from the main webview, but allows you tu access plugins and other Cordova resources.
It's possible to modify this plugin to allow multiple webviews.
</description>
<repo>https://github.com/arturokunder/cl.kunder.webview</repo>
<issue>https://github.com/arturokunder/cl.kunder.webview/issues</issue>
<license>Apache 2.0</license>
<keywords>cordova, webview</keywords>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<!-- Web View -->
<js-module src="www/webViewPlugin.js" name="webview">
<merges target="webview" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="WebViewPlugin" >
<param name="android-package" value="cl.kunder.webview.WebViewPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="cl.kunder.webview.WebViewActivity" android:screenOrientation="portrait" android:theme="@android:style/Theme.Black.NoTitleBar" android:windowSoftInputMode="adjustResize" android:exported="true">
</activity>
</config-file>
<source-file src="src/android/cl/kunder/webview/WebViewPlugin.java" target-dir="src/cl/kunder/webview" />
<source-file src="src/android/cl/kunder/webview/WebViewActivity.java" target-dir="src/cl/kunder/webview" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="WebViewPlugin">
<param name="ios-package" value="WebViewPlugin"/>
</feature>
</config-file>
<!-- WebView -->
<header-file src="src/ios/webview/WebViewPlugin.h" />
<source-file src="src/ios/webview/WebViewPlugin.m" />
</platform>
<!-- browser -->
<platform name="browser">
<config-file target="config.xml" parent="/*">
<feature name="WebViewPlugin">
<param name="browser-package" value="WebViewPluginProxy" />
</feature>
</config-file>
<js-module src="src/browser/WebViewPluginProxy.js" name="WebViewPluginProxy">
<runs />
</js-module>
</platform>
</plugin>