forked from aerogear-attic/aerogear-cordova-crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
58 lines (45 loc) · 1.93 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.jboss.aerogear.cordova.crypto"
version="0.0.1">
<name>AeroGear Crypto Plugin</name>
<description>
This plugin mimics the api of the aerogear-js crypto functions as close as possible, but delegates the work to the
native implementations
</description>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.4.0"/>
</engines>
<js-module src="www/aerogear.crypto.js" name="AeroGear">
<clobbers target="AeroGear"/>
</js-module>
<js-module src="www/jquery-1.10.2.min.js" name="jQuery">
<clobbers target="cordova.plugins.jquery"/>
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="crypto">
<param name="android-package" value="org.jboss.aerogear.cordova.crypto.CryptoPlugin" />
</feature>
</config-file>
<source-file src="src/android/org/jboss/aerogear/cordova/crypto/CryptoPlugin.java" target-dir="src/org/jboss/aerogear/cordova/crypto/"/>
<source-file src="src/android/libs/aerogear-crypto-0.1.0-SNAPSHOT.jar" target-dir="libs"/>
<source-file src="src/android/libs/sc-light-jdk15on-1.47.0.3.jar" target-dir="libs"/>
<source-file src="src/android/libs/scprov-jdk15on-1.47.0.3.jar" target-dir="libs"/>
<source-file src="src/android/libs/bcprov-jdk15on-1.48.jar" target-dir="libs"/>
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="crypto">
<param name="ios-package" value="CryptoPlugin"/>
</feature>
</config-file>
<source-file src="src/ios/CryptoPlugin.m"/>
<header-file src="src/ios/CryptoPlugin.h"/>
<asset src="src/ios/Podfile" target="../../Podfile" />
</platform>
</plugin>