Android - App Fingerprint - Monitor (Pro)
Every Android app is signed by the one who built it. If someone else rebuilds your game, the signature changes. The fingerprint is that signature as a short text. You can check it on the device. You do not need a server.
This monitor only reads the fingerprint. The Android package tampering detector compares it with yours.
This monitor needs the Pro version.
Walkthrough: Protecting an Android build.
Do you need to add it?
Most of the time, no. The Android Package Cheating Detector prefab already includes this monitor. That prefab is part of the predefined Anti-Cheat-Monitor prefab.
Add the AndroidPackageFingerprintMonitor component (namespace GUPS.AntiCheat.Monitor.Android) by hand only if you build your own setup, or if you only want the raw reading. Put it on the same GameObject as its detector. The detector looks for it there.

Add the AndroidPackageFingerprintMonitor component.
What it reports
The monitor reads the signature once, when it starts. It then sends one AndroidFingerprintStatus:
public struct AndroidFingerprintStatus : IAndroidStatus
{
// True if the fingerprint could not be read.
public bool FailedToRetrieveData { get; }
// The hash method that was used.
public string Algorithm { get; }
// The fingerprint of the running app, as hex text.
public string Fingerprint { get; }
}
- FailedToRetrieveData: The signature could not be read. The other values are not valid.
- Algorithm: Which hash method turned the signature into text. See the table below.
- Fingerprint: The fingerprint of the running app.
Settings
The monitor has one field in the Inspector:
- Is Active (
isActive, bool, default true): Turns the monitor on or off.
The hash method and your own fingerprint are set in the project settings. Open Edit > Project Settings > GuardingPearSoftware > AntiCheat, select the Android tab and go to Android - App Fingerprint - Settings.

Fingerprint settings.
- Verify app fingerprint: Off by default. Turn it on to use this check.
- Used hash algorithm: The hash method. The default is SHA256.
- Fingerprint: The fingerprint of your own signing key. The detector compares against it.
Anti-Cheat can use these methods:
| Method | Notes |
|---|---|
| None | No fingerprint is calculated |
| MD5 | Not recommended |
| SHA1 | Not recommended |
| SHA256 | Recommended |
| SHA384 | Stronger than SHA-256 |
| SHA512 | Stronger than SHA-256 |
Good to know
- Not in the Editor: The monitor only reads the signature on an Android device. In the Editor it sends nothing and logs a warning.
- Development builds: Verify development builds is off by default. While it is off, the detector does not judge development builds. Turn it on while you test.

Turn on Verify development builds to also check development builds.
Platforms and requirements
Android only. Android 4.4 (API level 19) or newer.
The Android plugin com.gups.anticheat ships with the package in Assets/GUPS/AntiCheat/Plugins/Android/.
Read it in code
You can listen to the monitor yourself. Subscribe returns an IDisposable. Dispose it when you want to stop.
using System;
using GUPS.AntiCheat.Core.Watch;
using GUPS.AntiCheat.Monitor.Android;
using UnityEngine;
public class AndroidFingerprintStatusLogger : MonoBehaviour, IObserver<IWatchedSubject>
{
private void Start()
{
var monitor = GetComponentInChildren<AndroidPackageFingerprintMonitor>();
monitor.Subscribe(this);
}
public void OnNext(IWatchedSubject subject)
{
if (subject is AndroidFingerprintStatus status)
{
if (status.FailedToRetrieveData)
{
Debug.LogWarning("Could not read the app fingerprint.");
return;
}
Debug.Log($"Fingerprint ({status.Algorithm}): {status.Fingerprint}");
}
}
public void OnError(Exception error) { }
public void OnCompleted() { }
}
Detect the wrong signature
To compare the fingerprint with yours, use the Android package tampering detector.
Back to the Monitor overview.