1.0.0 • Published 4 years ago
cordova-plugin-crypt-files v1.0.0
Cordova crypt files plugin
HTML source file is encrypted at build, and decrypted at run.
https://www.npmjs.com/package/cordova-plugin-crypt-files
Add Plugin
cordova plugin add cordova-plugin-crypt-files
Encrypt
cordova build [ios / android]
Decrypt
cordova emulate [ios / android]
orcordova run [ios / android]
Encryption subjects.
Default
- .html
- .htm
- .js
- .css
Edit subjects
You can specify the encryption subjects by editing plugin.xml
.
plugins/cordova-crypt-file/plugin.xml
<cryptfiles>
<include>
<file regex="\.(htm|html|js|css)$" />
</include>
<exclude>
<file regex="exclude_file\.js$" />
</exclude>
</cryptfiles>
Specify the target file as a regular expression.
Supported platforms
- iOS
- Android
- CrossWalk
Before reporting your issue
It would be very helpful if you show me your project (If you have GitHub repository, that URL would be nice). It is very hard for me to reporduce your enviroment.
Based on the original cordova-crypt-file created by tkyaji
https://github.com/tkyaji/cordova-plugin-crypt-file
License
Apache version 2.0
1.0.0
4 years ago