Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All obfuscated code has "// Original name: XXX, environment: rX" making the obfuscation irrelevant #19

Open
AlbertoMeQ opened this issue Mar 24, 2023 · 0 comments

Comments

@AlbertoMeQ
Copy link

Hello,

I am trying to use this code with React-Native (metro).
I am using the following settings:

        compact: true,
        controlFlowFlattening: false,
        deadCodeInjection: false,
        debugProtection: false,
        debugProtectionInterval: 0,
        disableConsoleOutput: true,
        identifierNamesGenerator: 'mangled',
        rotateStringArray: true,
        shuffleStringArray: true,
        log: false,
        numbersToExpressions: false,
        renameGlobals: false,
        renameProperties: true,
        renamePropertiesMode: 'safe',
        selfDefending: true,
        simplify: true,
        splitStrings: false,
        stringArray: true,
        stringArrayCallsTransform: true,
        stringArrayEncoding: [],
        stringArrayIndexShift: true,
        stringArrayRotate: true,
        stringArrayShuffle: true,
        stringArrayWrappersCount: 1,
        stringArrayWrappersChainedCalls: true,
        stringArrayWrappersParametersMaxCount: 2,
        stringArrayWrappersType: 'variable',
        stringArrayThreshold: 0.75,
        unicodeEscapeSequence: false,

Why do I get code like this inside the index.bundle.js:

r4 = function(a0) { // Original name: metroRequire, environment: r2

Can I do something to remove all those comments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant