cordova-plugin-crypt-file icon indicating copy to clipboard operation
cordova-plugin-crypt-file copied to clipboard

Encrypt file at specific location only

Open goelsmiti opened this issue 5 years ago • 3 comments

Hi,

I have implemented your plugin and it works like charm from the first time.

But i want to encrypt only .js file written by me and not the third party plugin. I have read your Edit subjects section. But i am not sure, how to provide path of .js file in /www folder only.

Please help.

goelsmiti avatar Oct 17 '19 13:10 goelsmiti

This working for me : In plugins\cordova-plugin-crypt-file\plugin.xml <cryptfiles> <include> <file regex="\.(htm|html|js|css)$" /> </include> <exclude> <file regex="\plugins" /> </exclude> </cryptfiles>

alisonsi avatar Feb 18 '20 15:02 alisonsi

is there a way to specify the exact files you want encrypted? or is just by folder names?

<include> <file myfilename=".\www\myCode.js" /> </include>

nomaam avatar Apr 17 '21 21:04 nomaam

is there a way to specify the exact files you want encrypted? or is just by folder names?

<include> <file myfilename=".\www\myCode.js" /> </include>

You van use <include> <file myfilename="myCode1.js" /> <file myfilename="myCode2.js" /> </include>

Filavision avatar Dec 17 '22 09:12 Filavision