tabris-js icon indicating copy to clipboard operation
tabris-js copied to clipboard

How to obfuscate code in my app?

Open Nabeel20 opened this issue 5 years ago • 2 comments

I tried to use webpack so I could use plugin. I have already tried cordova plugin but because I am building online it does not work. I am using: webpack: "^5.6.0", webpack-cli: "^4.2.0", webpack-obfuscator: "^3.1.0"

ERROR in main
Module not found: Error: Can't resolve './src' in '/home/travis/build/eclipsesource/tabris-js-build-template/build'
webpack 5.6.0 compiled with 1 error in 131 ms
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ build: `webpack`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/travis/.npm/_logs/2020-11-23T07_12_54_192Z-debug.log
The command npm exited with 1

Nabeel20 avatar Nov 23 '20 07:11 Nabeel20

That looks like an error with your webpack configuration and is not Tabris-specific.

You might also check https://tabris.com/securing-your-mobile-application-in-javascript/

cookieguru avatar Nov 23 '20 08:11 cookieguru

@Nabeel20 maybe this link can help you https://tabris.com/bundle-your-tabris-js-app-code-with-webpack/

ishigo1987 avatar Nov 26 '20 19:11 ishigo1987