security_plus 2.0.2 copy "security_plus: ^2.0.2" to clipboard
security_plus: ^2.0.2 copied to clipboard

A new Flutter plugin to detect more than one security alert like root, jailbreak, emulator, development mode , and external storage run.

security_plus #

This is a Dart/Flutter plugin to know if the device security has been breached or not. For example it will let you know if the user rooted his device or not.

Please Note: [isRooted] and [isJailBroken] are both async functions which returns a boolean use them wisely.

install: #

dependencies:
   security_plus: ^2.0.2

use: #


// You could use [isRooted] to check if the android device is rooted or not 
  SecurityPlus.isRooted

// You could use [isJailBroken] to check if the IOS device is jail broken or not 
  SecurityPlus.isJailBroken

// You could use [isOnExternalStorage] to check if the Android device is running your app on external storage or not 
  SecurityPlus.isOnExternalStorage

// You could use [isEmulator] to check if the Android device is Emulator or not 
  SecurityPlus.isEmulator

// You could use [isDevelopmentModeEnable] to check if the Android device is in Development mode or not 
  SecurityPlus.isDevelopmentModeEnable

// You could use [isMockLocationEnabled] to check if the Android device is using a mock location method or not 
  SecurityPlus.isMockLocationEnabled

Future Work #

  • Adding SSL pinning (DIO)
  • Adding SSL pinning (HTTP)
  • Adding Mobile data detection

Credits #

Thanks to abu for creating flutter_root_jailbreak which was the inspiration for this plugin. Also thanks for MazenEmara for contributing to this project and being part of the team.

15
likes
160
points
302
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter plugin to detect more than one security alert like root, jailbreak, emulator, development mode , and external storage run.

Repository (GitHub)

Documentation

API reference

License

Unlicense (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on security_plus