forked from tkyaji/cordova-plugin-crypt-file
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.xml
executable file
·45 lines (39 loc) · 1.47 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-its-encryptsrc"
version="1.0.0">
<name>EncryptSrc</name>
<description>Cordova plugin for encrypting source code on Android and iOS</description>
<author>quentin.fung@hku.hk</author>
<license>Apache 2.0</license>
<keywords>cordova,encrypt,source,protect,android,ios,plugin</keywords>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="DecryptResource">
<param name="android-package" value="hk.hku.its.encryptsrc.DecryptResource" />
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/hk/hku/its/encryptsrc/DecryptResource.java" target-dir="src/hk/hku/its/encryptsrc" />
</platform>
<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>
<cryptfiles>
<include>
<file regex="\.(htm|html|js|css)$" />
</include>
<exclude>
</exclude>
</cryptfiles>
<hook type="after_prepare" src="hooks/after_prepare.js" />
</plugin>