tkyaji / cordova-plugin-crypt-file

This plugin to encrypt the source files.
Apache License 2.0
178 stars 116 forks source link

Encrypt file at specific location only #89

Open goelsmiti opened 4 years ago

goelsmiti commented 4 years ago

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.

alisonsi commented 4 years ago

This working for me : In plugins\cordova-plugin-crypt-file\plugin.xml `

    <exclude>
        <file regex="\plugins" />
    </exclude>
</cryptfiles>`
nomaam commented 3 years ago

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>

Filavision commented 1 year ago

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>