root_checker_plus
1.1.1, released 2 months ago by an unverified publisher
Flutter plugin for Android root detection and iOS jailbreak detection.
What it does
Provides methods to check whether an Android device is rooted or has developer mode enabled, and whether an iOS device is jailbroken. Uses native libraries like RootBeer and DTTJailbreakDetection underneath.
AI-written summary of version 1.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to detect rooted Android devices or jailbroken iOS devices for security-sensitive apps.
- You want to check if developer options are enabled on Android.
Skip it when
- You require foolproof security, as these checks are best-effort and can be bypassed by hiding tools.
- Your app targets platforms other than Android and iOS.
Strengths
- Easy-to-use asynchronous API.
- Supports Swift Package Manager alongside CocoaPods on iOS.
- Migrated to built-in Kotlin for Android.
Weaknesses
- Can produce false negatives due to root/jailbreak hiding tools, or false positives on custom ROMs.
- Requires handling PlatformException for unsupported states.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Requires Android minSdk 24 or later, iOS 13.0 or later, Flutter 3.44.0 or later, and Dart 3.12.0 or later.
Future<void> androidRootChecker() async {
try {
bool rooted = (await RootCheckerPlus.isRootChecker()) ?? false;
} on PlatformException {
// handle exception
}
}Alternatives
Packages that do the same job and could replace root_checker_plus.
- device_safety_info
Provides root, jailbreak, debugger, screenshot, VPN and other security checks for Flutter apps.
82Compare - flutter_jailbreak_detection_plus
Detect if an Android device is rooted or an iOS device is jailbroken.
78Compare - jailbreak_root_detection
Detects root on Android and jailbreak on iOS devices.
73Compare - device_trust
Heuristic device integrity signals for root, jailbreak, emulator, Frida, and debugger detection.
67Compare