trust_fall 1.0.0 copy "trust_fall: ^1.0.0" to clipboard
trust_fall: ^1.0.0 copied to clipboard

outdated

A Flutter plugin for detecting the trust fall of the device(jailbroken, root, emulator and mock location detection).

trust_fall #

A Flutter plugin for detecting the trust fall of the device(jailbroken, root, emulator and mock location detection).

Uses RootBeer for Android root detection and DTTJailbreakDetection for iOS jailbreak detection. Inspired by jail-monkey and this blog article

Getting Started #

In your flutter project add the dependency:

dependencies:
  ...
  trust_fall: ^1.0.0

Usage #

Importing package

import 'package:trust_fall/trust_fall.dart';

Using it

Checks whether device JailBroken on iOS/Android?

bool isJailBroken = await TrustFall.isJailBroken;

Can this device mock location - no need to root!

bool canMockLocation = await TrustFall.canMockLocation;

Checks whether device is real or emulator

bool isRealDevice = await TrustFall.isRealDevice;

(ANDROID ONLY) Check if application is running on external storage

bool isOnExternalStorage = await TrustFall.isOnExternalStorage;

Check if device violates any of the above

bool isTrustFall = await TrustFall.isTrustFall;

Note: #

❗Since emulators are usually rooted, you might want to bypass these checks during development. Unless you're keen on constant false alarms ⏰ #

88
likes
0
pub points
81%
popularity

Publisher

unverified uploader

A Flutter plugin for detecting the trust fall of the device(jailbroken, root, emulator and mock location detection).

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on trust_fall