Skip to content
pubscout

flutter_jailbreak_detection

1.10.0, released 4 years ago by appmire.be

Flutter plugin for jailbreak and root detection on Android and iOS.

WASM-ready
$ flutter pub add flutter_jailbreak_detection
Source repository

What it does

It checks if the device is rooted on Android or jailbroken on iOS. It can also detect developer mode on Android.

AI-written summary of version 1.10.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to secure a financial or sensitive application by preventing execution on rooted or jailbroken devices
  • You need to check if developer mode is enabled on Android

Skip it when

  • You do not require device security checks
  • You need native custom root detection logic not covered by Rootbeer or IOSSecuritySuite

Strengths

  • Simple asynchronous API
  • Wraps well-known native security libraries (Rootbeer and IOSSecuritySuite)

Weaknesses

  • Root and jailbreak detection can often be bypassed by advanced users or customized tooling
  • Platform capabilities vary (e.g., developer mode is Android only)

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
0

Not documented

import 'package:flutter_jailbreak_detection/flutter_jailbreak_detection.dart';

bool jailbroken = await FlutterJailbreakDetection.jailbroken;
bool developerMode = await FlutterJailbreakDetection.developerMode;

Alternatives

Packages that do the same job and could replace flutter_jailbreak_detection.