palestine_trusted_device 0.0.6 palestine_trusted_device: ^0.0.6 copied to clipboard
Check if the device is trustworthy, rooted, jailbroken, developer mode is on, ...etc.
palestine_trusted_device #
Native Device security checks, Rooted/Jailbroken, Not real device, Developer mode is on, On external drive.
Part of PalestineDevelopers project
Features #
- Android/IOS security checks
Getting started #
To start, import package
import 'package:palestine_trusted_device/palestine_trusted_device.dart';
Usage #
Just as easy as this
PalTrustedDevice.check(
onFail: () {
// Not Secure Env Detected
},
);
Customizing checks available too
PalTrustedDevice.check(
checkRealDevice: true, // Android + IOS
checkDevMode: false, // Android
checkOnExternalStorage: false, // Android
checkRooted: true, // Android + IOS
onFail: () {
// Not Secure Env Detected
},
);
It's possible to await until the check is done
await PalTrustedDevice.check(
onFail: () {
// Not Secure Env Detected
},
);