Skip to content
pubscout

jailbreak_root_detection

1.2.3, released 3 months ago by an unverified publisher

Detects root on Android and jailbreak on iOS devices.

$ flutter pub add jailbreak_root_detection
Source repository

What it does

Uses RootBeer and DetectFrida for Android root detection, and IOSSecuritySuite for iOS jailbreak detection. It exposes methods to verify if the app runs on a real device, has root/jailbreak, or experiences security issues.

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

Use it when

  • You need to prevent your app from running on rooted Android or jailbroken iOS devices
  • You need to verify if the app is running on a real physical device rather than an emulator

Skip it when

  • You are testing on emulators or simulators without expecting false positives
  • Your app does not require advanced security checks

Strengths

  • Combines proven native libraries like RootBeer and IOSSecuritySuite
  • Provides simple asynchronous methods to query device security status

Weaknesses

  • Emulators or simulators may cause false positives
  • Requires platform-specific configuration such as Info.plist entries on iOS

Setup

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

Requires adding platform schema queries to Info.plist on iOS for detection features.

final isJailBroken = await JailbreakRootDetection.instance.isJailBroken;
final isRealDevice = await JailbreakRootDetection.instance.isRealDevice;

Alternatives

Packages that do the same job and could replace jailbreak_root_detection.