flutter_tamper_detector library

Flutter Tamper Detector public API.

The package collects local security signals on Android and iOS. Signals are heuristics, not proof that a device or process is uncompromised. For sensitive server operations, combine local checks with server-validated platform attestation (Play Integrity or App Attest).

Classes

AppPrivacy
Applies platform-specific privacy protections to the application window.
DeveloperSecurityLogger
Default logger that emits events through dart:developer.
FlutterTamperDetector
Coordinates native security inspections and applies the startup policy.
SecurityFinding
A single observation collected by a platform security check.
SecurityLogger
Receives security events without coupling the package to a telemetry vendor.
SecurityOptions
Controls which local checks run and how their findings affect startup.
SecurityReport
Immutable result of one security inspection and its startup policy decision.

Enums

SecuritySeverity
Relative severity assigned to a security observation.
SecurityStatus
Aggregate outcome of a security inspection.

Typedefs

SecurityReportCallback = void Function(SecurityReport report)
Callback invoked after each completed security inspection.