It will be nice to have control over deciding what / which files need encryption. Developer may want to encrypt a private / premium plugin under tns_modules or all XML & CSS files too along with JS inside app.
app/**.js may be kept as default but allow developer to customize them using .app-encryption file (something similar to .gitignore) to mention what all files needs encryption and what all not.
It will be nice to have control over deciding what / which files need encryption. Developer may want to encrypt a private / premium plugin under
tns_modulesor all XML & CSS files too along with JS insideapp.app/**.jsmay be kept as default but allow developer to customize them using.app-encryptionfile (something similar to.gitignore) to mention what all files needs encryption and what all not.