JailbreakRootDetectorImpl class
An IJailbreakRootDetector implementation backed by the
jailbreak_root_detection package.
Acts as a thin adapter that forwards all calls to JailbreakRootDetection.instance. Registered in the DI container so the rest of the app depends on the IJailbreakRootDetector interface rather than this concrete class.
See also:
- IJailbreakRootDetector, the interface this class implements.
- Implemented types
- Annotations
Constructors
- JailbreakRootDetectorImpl()
-
Creates a constant, stateless instance.
const
Properties
-
checkForIssues
→ Future<
List< JailbreakIssue> > -
A list of specific security issues detected on the device.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isDevMode
→ Future<
bool> -
Whether Developer Mode is enabled on the device.
no setteroverride
-
isJailBroken
→ Future<
bool> -
Whether the device is jailbroken (iOS) or rooted (Android).
no setteroverride
-
isNotTrust
→ Future<
bool> -
Whether the overall device integrity is considered untrusted.
no setteroverride
-
isOnExternalStorage
→ Future<
bool> -
Whether the app is installed on external storage (Android only).
no setteroverride
-
isRealDevice
→ Future<
bool> -
Whether the app is running on a physical device rather than an emulator
or simulator.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isTampered(
String bundleId) → Future< bool> -
Whether the application bundle has been tampered with.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited