Skip to main content

bm_root_jailbreak_sniffer 1.1.6 copy "bm_root_jailbreak_sniffer: ^1.1.6" to clipboard
bm_root_jailbreak_sniffer: ^1.1.6 copied to clipboard

Root detection (Magisk Hide aware) on Android and jailbreak detection on iOS. Fork of root_jailbreak_sniffer with Swift Package Manager support on iOS.

bm_root_jailbreak_sniffer #

Fork of root_jailbreak_sniffer 1.1.4 (Apache-2.0, (c) romikavinda). The only change is a Swift Package Manager manifest for iOS so apps can run without CocoaPods; the Dart API, the method channel and the Android detection (RootBeer, RootInspector, DetectMagiskHide) are unchanged. Import package:bm_root_jailbreak_sniffer/rjsniffer.dart.

Flutter plugin to detect jailbreak on iOS and root detection (Magisk hide to some extent) on Android.

Based on RootBeer , RootInspector , DetectMagiskHide for Android, and IOSSecuritySuite for iOS.

Getting Started #

Install #

$ flutter pub add bm_root_jailbreak_sniffer

or add the below line to your package's pubspec.yaml:

for Flutter SDK below 3.19.0 & Gradle version below 8.0

dependencies:
  bm_root_jailbreak_sniffer: ^1.1.5

for Flutter SDK 3.19 & above with gradle 8 support (JAVA 17 Support)

dependencies:
  bm_root_jailbreak_sniffer: ^1.1.5

Platform Based Configurations #

Android #

No Configurations Needed.

iOS #

Add following lines to the Info.plist file in /ios/Runner/ folder. Starting from rjsniffer 1.1.4 iOSSecuritySuite has been pinned to 1.9.10 for license issues.

<key>LSApplicationQueriesSchemes</key>
    <array>
        <string>undecimus</string>
        <string>sileo</string>
        <string>zbra</string>
        <string>filza</string>
        <string>activator</string>
    </array>

Usage #

import 'package:root_jailbreak_sniffer/rjsniffer.dart';

    bool amICompromised = await Rjsniffer.amICompromised() ?? false;     //Detect JailBreak and Root
    bool amIEmulator = await Rjsniffer.amIEmulator() ?? false;           //Detect Emulator Environment
    bool amIDebugged = await Rjsniffer.amIDebugged() ?? false;           //Detect being Debugged

0
likes
160
points
115
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Root detection (Magisk Hide aware) on Android and jailbreak detection on iOS. Fork of root_jailbreak_sniffer with Swift Package Manager support on iOS.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on bm_root_jailbreak_sniffer

Packages that implement bm_root_jailbreak_sniffer