README
Cordova crypt file plugin
HTML source file is encrypted at build, and decrypted at run.
https://www.npmjs.com/package/cordova-plugin-crypt-file
Add Plugin
cordova plugin add cordova-plugin-crypt-file
Encrypt
cordova build [ios / android]
Decrypt
cordova emulate [ios / android]
or
cordova run [ios / android]
Encryption subjects.
Default
- .html
- .htm
- .js
- .css
Edit subjects
You can specify the encryption subjects by editing plugin.xml
.
plugins/cordova-plugin-crypt-file/plugin.xml
<cryptfiles>
<include>
<file regex="\.(htm|html|js|css)