UNPKG

cordova-plugin-file-encryption

Version:
53 lines (52 loc) 2.53 kB
<?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>