javascript-obfuscator / react-native-obfuscating-transformer

Obfuscation for React Native bundles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expected output from Trace and from emitObfuscatedFiles options?

Nantris opened this issue · comments

I've added the trace option to my configuration to help me determine why the output doesn't seem to be transformed at all, but I've not been able to determine where I should see this output. It doesn't appear in my console.

I haven't been able to find any output files anywhere either. Where would one expect to find those?

Thanks for any advice!

you can go to the android folder in your app root folder in the terminal, run ./gradlew assembleRelease, you should see "obfuscating xxx file" being logged if you enable the trace flag to true.

@wangghon

In my case it is not logging "obfuscating..." because it actually returns before as resultCanBeObfuscated is false all the time, never runs the line if (resultCanBeObfuscated && filter(props.filename, props.src)) {

@nomoreboredom can you provide any more details about how you investigated the code as it ran? I'm not sure what I can do to debug it.