-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
49 lines (49 loc) · 2.07 KB
/
plugin.xml
File metadata and controls
49 lines (49 loc) · 2.07 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
<plugin id="com.scg.crypto" version="0.0.1">
<name>CordovaCrypt</name>
<description>
A sample Apache Cordova plugin that makes cryptographic methods available.
</description>
<author email="chad.godsey@systematicgroup.com" href="http://systematicgroup.com">
Chad Godsey
</author>
<js-module src="www/crypto.js" name="CDVCrypt">
<clobbers target="window.CDVCrypt" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CordovaCrypt">
<param name="android-package" value="com.scg.crypto.CordovaCrypt" />
</feature>
</config-file>
<source-file src="src/android/AESCrypt/AESCrypt.java" target-dir="src/com/scottyab/aescrypt" />
<source-file src="src/android/CordovaCrypt.java" target-dir="src/com/scg/crypto" />
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
</config-file>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="CordovaCrypt">
<param name="ios-package" value="CordovaCrypt" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>bluetooth-central</string>
</array>
</config-file>
<header-file src="src/ios/CordovaCrypt.h" />
<source-file src="src/ios/CordovaCrypt.m" />
<header-file src="src/ios/RSA/RSA.h" />
<source-file src="src/ios/RSA/RSA.m" />
<header-file src="src/ios/AESCrypt/AESCrypt.h" />
<source-file src="src/ios/AESCrypt/AESCrypt.m" />
<header-file src="src/ios/AESCrypt/NSData+Base64.h" />
<source-file src="src/ios/AESCrypt/NSData+Base64.m" />
<header-file src="src/ios/AESCrypt/NSData+CommonCrypto.h" />
<source-file src="src/ios/AESCrypt/NSData+CommonCrypto.m" />
<header-file src="src/ios/AESCrypt/NSString+Base64.h" />
<source-file src="src/ios/AESCrypt/NSString+Base64.m" />
</platform>
</plugin>