This repository has been archived by the owner on Jul 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 269
/
plugin.xml
73 lines (57 loc) · 2.49 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
62
63
64
65
66
67
68
69
70
71
72
73
<?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-secure-storage"
version="3.0.2">
<name>SecureStorage</name>
<author>Crypho AS</author>
<description>
Secure, encrypted storage for cordova apps in iOS and Android.
</description>
<license>MIT</license>
<keywords>keychain, encryption, security</keywords>
<js-module src="www/securestorage.js" name="SecureStorage">
<clobbers target="SecureStorage" />
</js-module>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="SecureStorage">
<param name="ios-package" value="SecureStorage"/>
</feature>
</config-file>
<source-file src="src/ios/SecureStorage.m" />
<header-file src="src/ios/SecureStorage.h" />
<source-file src="src/ios/SAMKeychain/SAMKeychain.m" />
<header-file src="src/ios/SAMKeychain/SAMKeychain.h" />
<source-file src="src/ios/SAMKeychain/SAMKeychainQuery.m" />
<header-file src="src/ios/SAMKeychain/SAMKeychainQuery.h" />
<resource-file src="src/ios/SAMKeychain/SAMKeychain.bundle" />
<framework src="Security.framework" />
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SecureStorage" >
<param name="android-package" value="com.crypho.plugins.SecureStorage"/>
</feature>
</config-file>
<source-file src="src/android/SecureStorage.java" target-dir="src/com/crypho/plugins/" />
<source-file src="src/android/RSA.java" target-dir="src/com/crypho/plugins/" />
<source-file src="src/android/AES.java" target-dir="src/com/crypho/plugins/" />
<source-file src="src/android/SharedPreferencesHandler.java" target-dir="src/com/crypho/plugins/" />
</platform>
<platform name="browser">
<config-file target="config.xml" parent="/*">
<feature name="SecureStorage">
<param name="browser-package" value="SecureStorage" />
</feature>
</config-file>
</platform>
<platform name="windows">
<js-module src="src/windows/SecureStorage.js" name="SecureStorageWindowsImpl">
<runs />
</js-module>
</platform>
</plugin>