-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.xml
More file actions
65 lines (57 loc) · 2.89 KB
/
plugin.xml
File metadata and controls
65 lines (57 loc) · 2.89 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns:android="http://schemas.android.com/apk/res/android"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-second-webview"
version="1.0.0">
<name>Cordova Second Webview</name>
<author href="">cvuser0</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 to access plugins and other Cordova
resources.
</description>
<repo>https://github.com/cvuser0/cordova-plugin-second-webview.git</repo>
<issue>https://github.com/cvuser0/cordova-plugin-second-webview/issues</issue>
<license>Apache 2.0</license>
<keywords>cordova, webview</keywords>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<!-- SecondWebView -->
<js-module src="www/SecondWebViewPlugin.js" name="webview">
<clobbers target="WebView"/>
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SecondWebViewPlugin">
<param name="android-package" value="org.apache.cordova.secondwebview.SecondWebViewPlugin"/>
</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="org.apache.cordova.secondwebview.SecondWebViewActivity"
android:screenOrientation="portrait" android:theme="@android:style/Theme.Black.NoTitleBar"
android:windowSoftInputMode="adjustResize" android:exported="true">
</activity>
</config-file>
<source-file src="src/android/org/apache/cordova/secondwebview/SecondWebViewPlugin.java"
target-dir="src/org/apache/cordova/secondwebview"/>
<source-file src="src/android/org/apache/cordova/secondwebview/SecondWebViewInterface.java"
target-dir="src/org/apache/cordova/secondwebview"/>
<source-file src="src/android/org/apache/cordova/secondwebview/SecondWebViewActivity.java"
target-dir="src/org/apache/cordova/secondwebview"/>
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="SecondWebViewPlugin">
<param name="ios-package" value="SecondWebViewPlugin"/>
</feature>
</config-file>
<!-- SecondWebView -->
<header-file src="src/ios/secondwebview/SecondWebViewPlugin.h"/>
<source-file src="src/ios/secondwebview/SecondWebViewPlugin.m"/>
</platform>
</plugin>