Documentation

Go to Portal Website

Rename Private Members

PlanPlatformsMASVS
TeamAndroidMASVS-RESILIENCE-3

Summary

Rename Private Members changes supported private field and method names in Android application code to less meaningful identifiers during protected build creation. This reduces the amount of useful structure visible to decompilers while preserving public interfaces that frameworks and dependencies are more likely to rely on.

Use this control as a practical baseline for Android apps that need stronger resistance to static analysis without the heavier compatibility profile of advanced code encryption.

What It Protects Against

How It Works

AppTego applies the rename during protected build creation and avoids changing public API surfaces that are more likely to be referenced by app frameworks, libraries, or platform tooling. The result is a release artifact where private implementation names reveal less about app behavior.

How to Enable the Control

Navigate to Code Obfuscation from the AppTego portal, and expand the Name Obfuscation section. Under this section you will find the Rename Private Members control. Click Enable to apply it to the next protected build.

API Configuration Example

{
  "RenamePrivateMembers": {
    "protection": true
  }
}
FieldPurpose
protectionEnables rename private members for protected builds.

Setup

  1. Open the AppTego Portal.
  2. Select the intended configuration version.
  3. Open Code Obfuscation.
  4. Enable Rename Private Members.
  5. Save the configuration.
  6. Build a protected Android app.
  7. Run login, purchase, deep-link, reflection-heavy, and native bridge flows before promotion.

Compatibility Guidance

AreaWhat to validate
ReflectionCode that accesses private members by name can be sensitive to renaming.
Serialization and persistenceValidate libraries that infer behavior from field or method names.
Native bridgesTest native bridge code that may reference private members indirectly.
Dependency injectionConfirm generated or runtime injection frameworks still resolve expected members.

User And App Impact

Users should not notice this control when compatibility checks pass. Developers may see less descriptive private names in crash traces or decompiled output from protected builds. Keep unobfuscated build artifacts available for debugging and support workflows.