IntegrityCheckConfig class

Configuration class to control the behavior of the integrity check.

Use this to toggle specific checks like Root/Jailbreak detection, Developer Mode detection, and Google Play Integrity API usage.

Constructors

IntegrityCheckConfig({bool blockIfRootedOrJailbroken = true, bool blockIfDeveloperMode = false, bool blockIfEmulatorOrSimulator = true, bool usePlayIntegrity = false, String? cloudProjectNumber, String? nonce, String? requestHash})
Creates a new instance of IntegrityCheckConfig.
const

Properties

blockIfDeveloperMode → bool
If set to true, the check will flag the device as unsafe if Developer Options or USB Debugging is enabled.
final
blockIfEmulatorOrSimulator → bool
If set to true, the check will flag the device as unsafe if it is running on an Emulator or Simulator.
final
blockIfRootedOrJailbroken → bool
If set to true, the check will flag the device as unsafe if Root (Android) or Jailbreak (iOS) is detected.
final
cloudProjectNumber → String?
The Google Cloud Project Number.
final
hashCode → int
The hash code for this object.
no setterinherited
nonce → String?
A unique nonce string for the Play Integrity request.
final
requestHash → String?
An optional hash of the request to be verified by the Play Integrity API.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
usePlayIntegrity → bool
If set to true, the plugin will attempt to verify the device using the Google Play Integrity API (Android only).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited