forked from takeyoda/cordova-plugin-modalwebview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
61 lines (57 loc) · 3.01 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
<?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="cordova-plugin-modalwebview"
version="1.0.0">
<name>ModalWebView</name>
<description>Cordova modal WebView plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,modal,webview</keywords>
<repo>https://github.com/takeyoda/cordova-plugin-modalwebview.git</repo>
<issue>https://github.com/takeyoda/cordova-plugin-modalwebview/issues</issue>
<engines>
<engine name="cordova-android" version=">=6.3.0" />
</engines>
<js-module src="www/ModalWebView.js" name="ModalWebView">
<clobbers target="ModalWebView" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ModalWebView">
<param name="android-package" value="ore.cordova.modalwebview.ModalWebView" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="ore.cordova.modalwebview.WebViewActivity"
android:exported="false"
android:theme="@style/Theme.AppCompat.Light"
android:windowContentOverlay="@null" />
</config-file>
<source-file src="src/android/ModalWebView.java" target-dir="src/ore/cordova/modalwebview" />
<source-file src="src/android/ResourceUtils.java" target-dir="src/ore/cordova/modalwebview" />
<source-file src="src/android/WebViewActivity.java" target-dir="src/ore/cordova/modalwebview" />
<resource-file src="src/android/xml/bottom_to_top.xml" target="res/anim/bottom_to_top.xml" />
<resource-file src="src/android/xml/top_to_bottom.xml" target="res/anim/top_to_bottom.xml" />
<resource-file src="src/android/xml/modalwebview.xml" target="res/values/modalwebview.xml" />
<resource-file src="src/android/img/ic_close_black_48dp.png" target="res/drawable-port-hdpi/ic_close_black_48dp.png" />
<framework src="com.android.support:design:27+" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ModalWebView">
<param name="ios-package" value="OREModalWebView" />
</feature>
</config-file>
<header-file src="src/ios/OREModalWebView.h" />
<source-file src="src/ios/OREModalWebView.m" />
<header-file src="src/ios/OREWebViewController.h" />
<source-file src="src/ios/OREWebViewController.m" />
<header-file src="src/ios/ORESnackBar.h" />
<source-file src="src/ios/ORESnackBar.m" />
<resource-file src="src/ios/ORESnackBar.xib" />
<!-- framework src="WebKit.framework" / -->
</platform>
</plugin>