MethodChannelProtectApp class

An implementation of ProtectAppPlatform that uses method channels to interact with the native platform.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform. This channel is used to invoke methods on the native side.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkIsTheDeveloperModeOn() Future<bool?>
Checks if the developer mode is enabled on the device. Returns a bool indicating whether developer mode is on.
override
dataOfCurrentProxy() Future<Map?>
Retrieves data about the current proxy configuration on the device. Returns a Map containing proxy data like proxyHost, proxyPort, proxyType, or null if no proxy is configured.
override
isDeviceUseVPN() Future<bool?>
Checks if the device is currently using a VPN. Returns a bool indicating whether the device is using a VPN.
override
isItRealDevice() Future<bool?>
Checks if the device is real. Returns a bool indicating whether developer mode is on.
override
isUseJailBrokenOrRoot() Future<bool?>
Checks if the device is jailbroken (iOS) or rooted (Android). Returns a bool indicating whether the device is jailbroken or rooted.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
turnOffScreenshots() Future<void>
Disables the ability to take screenshots on the device. This is useful for protecting sensitive information.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited