forked from tkyaji/cordova-plugin-crypt-file
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathplugin.xml
executable file
·55 lines (45 loc) · 1.85 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-crypt-file"
version="1.4.0">
<name>CordovaCrypt</name>
<description>Plugin Description</description>
<author>@tkyaji</author>
<license>Apache 2.0 License</license>
<engines>
<engine name="cordova" version=">=9.0.0"/>
<engine name="cordova-android" version=">=9.0.0" />
<engine name="cordova-ios" version=">=6.1.0" />
</engines>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="CDVCrypt">
<param name="ios-package" value="CDVCrypt"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<header-file src="src/ios/CDVCrypt.h" />
<source-file src="src/ios/CDVCrypt.m" />
<header-file src="src/ios/CDVCryptURLProtocol.h" />
<source-file src="src/ios/CDVCryptURLProtocol.m" />
</platform>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="DecryptResource">
<param name="android-package" value="com.tkyaji.cordova.DecryptResource" />
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/com/tkyaji/cordova/DecryptResource.java" target-dir="src/com/tkyaji/cordova" />
<source-file src="src/android/com/tkyaji/cordova/DecryptCordovaPathHandler.java" target-dir="src/com/tkyaji/cordova" />
<framework src="androidx.webkit:webkit:${cordovaConfig.ANDROIDX_WEBKIT_VERSION}" />
</platform>
<cryptfiles>
<include>
<file regex="\.(htm|html|js|css)$" />
</include>
<exclude>
</exclude>
</cryptfiles>
<hook type="after_prepare" src="hooks/after_prepare.js" />
</plugin>