forked from Crypho/cordova-plugin-secure-storage
-
Notifications
You must be signed in to change notification settings - Fork 12
/
plugin.xml
105 lines (84 loc) · 4.36 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?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="2.6.8-OS20">
<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>
<js-module src="www/sjcl_ss.js" name="sjcl_ss">
<runs/>
</js-module>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<platform name="ios">
<dependency id="cordova-plugin-add-swift-support" url="https://github.com/OutSystems/cordova-plugin-add-swift-support.git#2.0.3-OS1"/>
<config-file target="config.xml" parent="/*">
<feature name="SecureStorage">
<param name="ios-package" value="SecureStorage"/>
<preference name="deployment-target" value="13" />
<preference name="UseSwiftLanguageVersion" value="5" />
</feature>
</config-file>
<source-file src="src/ios/SecureStorage.swift"/>
<framework src="src/ios/frameworks/OSKeyStoreLib.xcframework" embed="true" custom="true" />
<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="OSCommonPluginLib" spec="1.0.0" />
</pods>
</podspec>
</platform>
<platform name="android">
<hook type="after_prepare" src="hooks/android/androidCopyPreferences.js" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SecureStorage" >
<param name="android-package" value="com.crypho.plugins.SecureStorage"/>
</feature>
<preference name="GradlePluginKotlinEnabled" value="true" />
<preference name="GradlePluginKotlinCodeStyle" value="official" />
<preference name="AndroidXEnabled" value="true"/>
</config-file>
<config-file parent="/resources" target="res/values/strings.xml">
<bool name="migration_auth">false</bool>
<string name="biometric_prompt_title">Authentication required</string>
<string name="biometric_prompt_subtitle">Please authenticate to continue</string>
<string name="biometric_prompt_negative_button">Cancel</string>
</config-file>
<source-file src="src/android/AES.java" target-dir="src/com/crypho/plugins/" />
<source-file src="src/android/IntentRequest.java" target-dir="src/com/crypho/plugins/" />
<source-file src="src/android/IntentRequestQueue.java" target-dir="src/com/crypho/plugins/" />
<source-file src="src/android/IntentRequestType.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/SecureStorage.java" target-dir="src/com/crypho/plugins/" />
<source-file src="src/android/SharedPreferencesHandler.java" target-dir="src/com/crypho/plugins/" />
<source-file src="src/android/TransitionValue.java" target-dir="src/com/crypho/plugins/" />
<source-file src="src/android/EncryptionExecutor.java" target-dir="src/com/crypho/plugins/" />
<source-file src="src/android/DecryptionExecutor.java" target-dir="src/com/crypho/plugins/" />
<source-file src="src/android/ExecutorResult.java" target-dir="src/com/crypho/plugins/" />
<source-file src="src/android/ExecutorResultType.java" target-dir="src/com/crypho/plugins/" />
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
</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>