palestine_trusted_device 0.0.10 copy "palestine_trusted_device: ^0.0.10" to clipboard
palestine_trusted_device: ^0.0.10 copied to clipboard

discontinued
outdated

Check if the device is trustworthy, rooted, jailbroken, developer mode is on, ...etc.

palestine_trusted_device #

Part of PalestineDevelopers #

Device security checker, isRooted|isJailbroken, isRealDevice, devModeActive or onExternalStorage.

License Pub Example

PUB GitHub release GitHub stars GitHub forks

Build Status


Table Of Contents #


Features #

  • Android|IOS security checks:
    • isRooted|isJailbroken
    • isRealDevice
    • isInDevMode
    • isOnExternalStorage

Getting started #

To start, import package

import 'package:palestine_trusted_device/palestine_trusted_device.dart';

Usage #

Ensure flutter framework is active

  • Add this to the beginning of main()
// Make Sure Framework Is Ready
WidgetsFlutterBinding.ensureInitialized();

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
      },
    );
24
likes
0
pub points
56%
popularity

Publisher

verified publishermsayed.net

Check if the device is trustworthy, rooted, jailbroken, developer mode is on, ...etc.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on palestine_trusted_device