MethodChannelRootJailbreakDetector class

An implementation of RootJailbreakDetectorPlatform that uses method channels to reach the Android and iOS native checks.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
isSupported bool
Whether this implementation can actually inspect the current device.
no setteroverride
methodChannel MethodChannel
The method channel used to talk to the native side.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isDeviceCompromised({bool treatEmulatorAsCompromised = true}) Future<bool>
Whether the device shows signs of being rooted or jailbroken.
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