usb_debug_blocker 0.0.1 copy "usb_debug_blocker: ^0.0.1" to clipboard
usb_debug_blocker: ^0.0.1 copied to clipboard

PlatformAndroid

A Flutter plugin to detect Developer Options, USB connection, and MTP mode on Android devices.

usb_debug_blocker #

A Flutter plugin to detect whether:

  • Developer Options are enabled
  • USB is connected
  • USB File Transfer (MTP) mode is enabled

🔐 Designed for security-focused apps like fintech, payments, or enterprise apps that need to block access when a device is in an insecure state.


📦 Features #

  • ✅ Detect if Developer Options are enabled
  • ✅ Detect if USB cable is connected
  • ✅ Detect if File Transfer (MTP) mode is on

🛠 Installation #

Add this to your pubspec.yaml:

dependencies:
  usb_debug_blocker: ^0.0.1
2
likes
140
points
9
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to detect Developer Options, USB connection, and MTP mode on Android devices.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on usb_debug_blocker

Packages that implement usb_debug_blocker