Package-level declarations

Types

Link copied to clipboard
interface DeviceIntegrity

Runtime posture check for the device the app is running on. A security-sensitive app runs this on launch to decide whether to proceed, warn, or refuse to load sensitive UI on a compromised device.

Link copied to clipboard
data class DeviceIntegrityConfig(val allowEmulator: Boolean = true, val allowDebuggerInDebug: Boolean = true)

How DeviceIntegrity interprets its raw signals.

Link copied to clipboard
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.

Functions

Link copied to clipboard

Platform factory for DeviceIntegrity.

expect fun deviceIntegrity(config: DeviceIntegrityConfig = DeviceIntegrityConfig()): DeviceIntegrity

Platform factory for DeviceIntegrity.

Platform factory for DeviceIntegrity.

Platform factory for DeviceIntegrity.

Platform factory for DeviceIntegrity.

Link copied to clipboard

Install the application Context used by the Android device-integrity actual. Call once at startup.