forked from prsuhas-zz/cordova-plugin-file-encryption
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
52 lines (52 loc) · 2.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
46
47
48
49
50
51
52
<?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-file-encryption" version="1.0.6">
<name>FileEncryption</name>
<description>Cordova File Encryption Plugin for Android and iOS</description>
<license>MIT</license>
<keywords>cordova,file,encrypt,decrypt</keywords>
<repo>https://github.com/prsuhas/cordova-plugin-file-encryption</repo>
<issue>https://github.com/prsuhas/cordova-plugin-file-encryption/issues</issue>
<engines>
<engine name="cordova-android" version=">=6.3.0" />
</engines>
<js-module src="www/FileEncryption.js" name="FileEncryption" >
<merges target="FileEncryption"/>
</js-module>
<!-- android -->
<platform name="android">
<framework src="src/android/conceal.gradle" custom="true" type="gradleReference" />
<source-file src="src/android/FileEncryption.java" target-dir="src/com/prsuhas"/>
<config-file target="res/xml/config.xml" parent="/*" >
<feature name="FileEncryption">
<param name="android-package" value="com.prsuhas.FileEncryption"/>
<param name="onload" value="true" />>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
</config-file>
</platform>
<!-- iOS -->
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="FileEncryption">
<param name="ios-package" value="FileEncryption" onload="true" />
</feature>
</config-file>
<framework src="Foundation.framework" />
<framework src="Security.framework" />
<source-file src="src/ios/FileEncryption.m"/>
<header-file src="src/ios/FileEncryption.h"/>
<header-file src="src/ios/RNCryptor/RNCryptor+Private.h" />
<header-file src="src/ios/RNCryptor/RNCryptor-Prefix.pch" />
<header-file src="src/ios/RNCryptor/RNCryptor.h" />
<source-file src="src/ios/RNCryptor/RNCryptor.m" />
<header-file src="src/ios/RNCryptor/RNCryptorEngine.h" />
<source-file src="src/ios/RNCryptor/RNCryptorEngine.m" />
<header-file src="src/ios/RNCryptor/RNDecryptor.h" />
<source-file src="src/ios/RNCryptor/RNDecryptor.m" />
<header-file src="src/ios/RNCryptor/RNEncryptor.h" />
<source-file src="src/ios/RNCryptor/RNEncryptor.m" />
</platform>
</plugin>