Ionic and jscrambler


#1

Hi All,

Just curious has anyone used jscrambler for protecting their apps.
Would love to hear thoughts on this, recommendations …etc and if it’s worth paying premium.

Or can the same thing be done with existing grunt and gulp tools if take time to learn it.

Thanks,
Noel


#2

Minifying JavaScript files (e.g., mangle and compress)

See:

And:


#3

Hi Rob,

Wow, that’s great :slight_smile:
I was thinking of using this tech guide:

Will have a look at all that stuff now.

Thanks for taking time to respond.


#4

Just to update, I went with jscrambler and really recommend it, easy to configure and the code seriously looks like junk. Would take mountain of work to re-engineer :slight_smile:


#5

Hi nmckeown, Can I ask you for your help?

I have created an app with ID: on https://app.jscrambler.com
I chosed Languge Specification “ESS”
I chose “Hibrid Mobile App”
and I downloaded the APPLICATION SETTINGS.

after that I created jscrambler.js on \hooks\after_prepare folder as it is indicate on

when I run “ionic build --release android” it says

(node:8776) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: No source files found. If you intend to send a whole directory sufix your path with "" (e.g. ./my-directory/)

My jscrambler.js fileSrc set is:
‘filesSrc’: [
‘./platform/android/assets/www/.{js,html}’,
'./platform/android/assets/www/build/
.js’,
],

and the files are in that folder.

What I am doing wrong?

Thank you

Oscar