Cloud Integration
Shield integrates with the ByteHide Cloud Panel to manage your protection lifecycle. From the panel you can create projects, view build history, track protection analytics, and decode obfuscated stack traces.
Your code never leaves your machine
Shield processes your application's bytecode locally during the Gradle build. Your source code, compiled binaries, and application resources are never uploaded or stored on ByteHide servers.
Getting Started with the Cloud Panel
1. Create a Project
Sign in to the ByteHide Cloud Panel and create a new Shield project for your Android application.
Click to expand
Click to expand
2. Get Your Token
Once the project is created, copy your project token from the project dashboard and add it to the shield { } block in your build.gradle. From this point on, every build automatically connects to the Cloud Panel.
Click to expand
shield {
projectToken = "your-project-token"
protections {
stringEncryption = true
constantMutation = true
antiDebug = true
}
}shield {
projectToken = "your-project-token"
protections {
stringEncryption = true
constantMutation = true
antiDebug = true
}
}3. Configure Protections
You can manage your protection configuration from the shield { } block in your Gradle file, or review and compare configurations across builds from the Cloud Panel.
Click to expand
Build History
Every build with Shield is recorded in the Cloud Panel. The build history shows timestamps, protection configurations, analytics, and provides access to mapping files and stack trace deobfuscation for each build.
Click to expand
From the build history you can compare protection configurations between builds, download mapping files for any past build, and decode obfuscated stack traces directly from the panel.
Protection Analytics
The Cloud Panel tracks protection metrics across all your builds, including classes processed, strings encrypted, methods renamed, build execution time, and protection quota usage.
Click to expand
Related
- Project Token - Obtaining and configuring your token
- Deobfuscate Stack Traces - Decoding obfuscated crash reports
- CI/CD Integration - Configuring Shield in CI pipelines