check static method

Runs the security check on the current platform:

  • iOS: the full scored SafetyNet.shared.check() (jailbreak, debugger, code signature, proxy/VPN — see the SafetyNet README for the full signal list).
  • Android: SafetyNetAndroid.checkRoot() and checkDebugger() combined.

See SafetyNetCheckResult for why this is intentionally a minimal, unified result rather than exposing each platform's full native richness.

Implementation

static Future<SafetyNetCheckResult> check() {
  return SafetyNetFlutterPlatform.instance.check();
}