Skip to content

Example Configuration Options

Ayush Bisht edited this page Sep 26, 2023 · 5 revisions

Obfuscation Mode

below example shows directories only obfuscated when obfuscationMode = "dir"

 Directories mapping:                Files mapping:
    res/mipmap-mdpi-v4 -> res/a4 ----|res/mipmap-mdpi-v4/ic_launcher.webp -> res/a4/ic_launcher.webp
                                     |res/mipmap-mdpi-v4/ic_launcher_round.webp -> res/a4/ic_launcher_round.webp
                                       
    res/mipmap-hdpi-v4 -> res/a5 ----|res/mipmap-hdpi-v4/ic_launcher.webp -> res/a5/ic_launcher.webp
                                     |res/mipmap-hdpi-v4/ic_launcher_round.webp -> res/a5/ic_launcher_round.webp

    res/mipmap-xhdpi-v4 -> res/a6 ---|res/mipmap-xhdpi-v4/ic_launcher.webp -> res/a6/ic_launcher.webp
                                     |res/mipmap-xhdpi-v4/ic_launcher_round.webp -> res/a6/ic_launcher_round.webp

    res/mipmap-xxhdpi-v4 -> res/a7 --|res/mipmap-xxhdpi-v4/ic_launcher.webp -> res/a7/ic_launcher.webp
                                     |res/mipmap-xxhdpi-v4/ic_launcher_round.webp -> res/a7/ic_launcher_round.webp

    res/mipmap-xxxhdpi-v4 -> res/a8 -|res/mipmap-xxxhdpi-v4/ic_launcher.webp -> res/a8/ic_launcher.webp
                                     |res/mipmap-xxxhdpi-v4/ic_launcher_round.webp -> res/a8/ic_launcher_round.webp

below example shows files only obfuscated when obfuscationMode = "file"

  Directories mapping:                              Files mapping:
    res/mipmap-mdpi-v4 -> res/mipmap-mdpi-v4 -------|res/mipmap-mdpi-v4/ic_launcher.webp -> res/mipmap-mdpi-v4/a.webp
                                                    |res/mipmap-mdpi-v4/ic_launcher_round.webp -> res/mipmap-mdpi-v4/b.webp

    res/mipmap-hdpi-v4 -> res/mipmap-hdpi-v4 -------|res/mipmap-hdpi-v4/ic_launcher.webp -> res/mipmap-hdpi-v4/a.webp
                                                    |res/mipmap-hdpi-v4/ic_launcher_round.webp -> res/mipmap-hdpi-v4/b.webp

    res/mipmap-xhdpi-v4 -> res/mipmap-xhdpi-v4 -----|res/mipmap-xhdpi-v4/ic_launcher.webp -> res/mipmap-xhdpi-v4/a.webp
                                                    |res/mipmap-xhdpi-v4/ic_launcher_round.webp -> res/mipmap-xhdpi-v4/b.webp

    res/mipmap-xxhdpi-v4 -> res/mipmap-xxhdpi-v4 ---|res/mipmap-xxhdpi-v4/ic_launcher.webp -> res/mipmap-xxhdpi-v4/a.webp
                                                    |res/mipmap-xxhdpi-v4/ic_launcher_round.webp -> res/mipmap-xxhdpi-v4/b.webp

    res/mipmap-xxxhdpi-v4 -> res/mipmap-xxxhdpi-v4 -|res/mipmap-xxxhdpi-v4/ic_launcher.webp -> res/mipmap-xxxhdpi-v4/a.webp
                                                    |res/mipmap-xxxhdpi-v4/ic_launcher_round.webp -> res/mipmap-xxxhdpi-v4/b.webp

Clone this wiki locally