flutter_jailbreak_detection_plus
1.10.8, released 4 weeks ago by an unverified publisher
Detect if an Android device is rooted or an iOS device is jailbroken.
What it does
Provides getters to check root status on Android via RootBeer and jailbreak status on iOS via IOSSecuritySuite. Also offers a developer‑mode check (Android developer options, iOS simulator).
AI-written summary of version 1.10.8, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to block functionality on rooted or jailbroken devices
- Compliance or security policies require device integrity checks
Skip it when
- You only need generic device info without security checks
- You require a cross‑platform solution that also handles emulators uniformly
Strengths
- Uses native libraries (RootBeer, IOSSecuritySuite) for reliable detection
- Runs root checks on a background thread on Android
- Supports Swift Package Manager and recent Flutter versions
Weaknesses
- Developer‑mode check differs between platforms
- Only provides boolean getters, no detailed reason codes
- May throw PlatformException that must be handled
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add the plugin to pubspec, run flutter pub get; iOS requires CocoaPods or Swift Package Manager, Android minSdk 21.
import 'package:flutter_jailbreak_detection_plus/flutter_jailbreak_detection_plus.dart';
bool jailbroken = await FlutterJailbreakDetectionPlus.jailbroken;
bool developerMode = await FlutterJailbreakDetectionPlus.developerMode;Alternatives
Packages that do the same job and could replace flutter_jailbreak_detection_plus.
- root_checker_plus
Flutter plugin for Android root detection and iOS jailbreak detection.
67Compare - jailbreak_root_detection
Detects root on Android and jailbreak on iOS devices.
73Compare - flutter_jailbreak_detection
Flutter plugin for jailbreak and root detection on Android and iOS.
50Compare - device_safety_info
Provides root, jailbreak, debugger, screenshot, VPN and other security checks for Flutter apps.
82Compare