DeviceIntegrityReport

data class DeviceIntegrityReport(val rooted: Boolean, val emulator: Boolean, val debuggerAttached: Boolean, val signals: List<String>, val inspected: Boolean = true)

Outcome of a DeviceIntegrity.inspect pass.

Constructors

Link copied to clipboard
constructor(rooted: Boolean, emulator: Boolean, debuggerAttached: Boolean, signals: List<String>, inspected: Boolean = true)

Properties

Link copied to clipboard

a debugger is attached and not tolerated by config.

Link copied to clipboard

running on an emulator (Android) or simulator (iOS). Non-blocking by default — dev/QA run on emulators.

Link copied to clipboard

whether the platform was actually able to run its detectors. False means the checks did not run — on Android, that the application Context was never installed. The other flags are then meaningless and MUST NOT be read as "clean".

Link copied to clipboard

The default gate a caller acts on. Emulator alone does NOT compromise; root/jailbreak or a (non-tolerated) debugger do. A caller that wants to tolerate root reads rooted directly.

Link copied to clipboard

device is rooted (Android) or jailbroken (iOS).

Link copied to clipboard

human-readable trail of every positive signal, for logging / a debug screen.