Search packages, repositories and app categories

Package detailsv1.10.0

flutter_jailbreak_detection

Flutter jailbreak and root detection plugin. This plugin wraps Rootbeer for use on Android and DTTJailbreakDetection for use on iOS.

AndroidiOS
30-day downloads
26.5K
Likes
390
Pub points
135

Install package

flutter pub add flutter_jailbreak_detection

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter plugin that detects jailbroken or rooted devices on Android and iOS. It leverages Rootbeer for Android and DTTJailbreakDetection for iOS to identify security compromises. This helps apps protect sensitive data by preventing execution on tampered devices. The plugin is lightweight, easy to integrate, and suitable for applications requiring enhanced security. It supports both major mobile platforms and provides a unified API across platforms.

Use cases

  • Protecting financial apps from unauthorized access
  • Preventing piracy in premium content apps
  • Securing authentication flows on compromised devices
  • Detecting device tampering in enterprise apps
  • Enforcing app integrity on rooted/jailbroken devices

Key features

  • Cross-platform detection for Android and iOS
  • Uses trusted native libraries (Rootbeer & DTTJailbreakDetection)
  • Simple integration with Flutter projects
  • Real-time device integrity checks
  • Minimal performance overhead

Suitable for

  • Security-conscious mobile applications
  • Apps handling sensitive user data
  • Enterprise and banking apps
  • Digital rights management systems
  • Applications requiring anti-tampering measures

Considerations

  • Does not prevent jailbreak but detects it
  • May trigger false positives on certain devices
  • Requires proper handling of detection results
  • Not a complete security solution
  • Should be combined with other security practices

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

flutter_jailbreak_detection

Flutter jailbreak and root detection plugin.

It uses RootBeer on Android, and IOSSecuritySuite on iOS.

Getting Started

import 'package:flutter_jailbreak_detection/flutter_jailbreak_detection.dart';

bool jailbroken = await FlutterJailbreakDetection.jailbroken;
bool developerMode = await FlutterJailbreakDetection.developerMode; // android only.

Categories

Source repository

Projects using this package