deviceIntegrity

Platform factory for DeviceIntegrity.

On Android the actual needs an application Context, installed once at startup via installDeviceIntegrityContext(context). Without it the detectors cannot run, and the returned report carries inspected = false — which DeviceIntegrityReport.isCompromised treats as compromised. Install the Context; do not rely on the degraded path.

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

Platform factory for DeviceIntegrity.

On Android the actual needs an application Context, installed once at startup via installDeviceIntegrityContext(context). Without it the detectors cannot run, and the returned report carries inspected = false — which DeviceIntegrityReport.isCompromised treats as compromised. Install the Context; do not rely on the degraded path.

Platform factory for DeviceIntegrity.

On Android the actual needs an application Context, installed once at startup via installDeviceIntegrityContext(context). Without it the detectors cannot run, and the returned report carries inspected = false — which DeviceIntegrityReport.isCompromised treats as compromised. Install the Context; do not rely on the degraded path.

Platform factory for DeviceIntegrity.

On Android the actual needs an application Context, installed once at startup via installDeviceIntegrityContext(context). Without it the detectors cannot run, and the returned report carries inspected = false — which DeviceIntegrityReport.isCompromised treats as compromised. Install the Context; do not rely on the degraded path.

Platform factory for DeviceIntegrity.

On Android the actual needs an application Context, installed once at startup via installDeviceIntegrityContext(context). Without it the detectors cannot run, and the returned report carries inspected = false — which DeviceIntegrityReport.isCompromised treats as compromised. Install the Context; do not rely on the degraded path.