Protect App Flutter Plugin

A Flutter plugin designed to enhance the security of your Flutter applications by providing features to detect and mitigate potential security risks on the device. This plugin allows you to:

  • Turn off screenshots to prevent sensitive information from being captured.
  • Detect if the device is using a VPN.
  • Check if the device is jailbroken or rooted.
  • Verify if the developer mode is turned on.
  • Retrieve data about the current proxy settings on the device.

Features

  • Turn Off Screenshots: Prevent users from taking screenshots within your app to protect sensitive information.
await ProtectApp().turnOffScreenshots();
  • VPN Detection: Detect if the device is currently using a VPN.
await ProtectApp().isDeviceUseVPN();
  • Jailbroken/Rooted Device Detection: Check if the device is jailbroken (iOS) or rooted (Android).
await ProtectApp().isUseJailBrokenOrRoot();
  • Developer Mode Detection: Verify if the developer mode is turned on.
await ProtectApp().checkIsTheDeveloperModeOn();
  • Proxy Data Retrieval: Retrieve information about the current proxy settings on the device.
await ProtectApp().dataOfCurrentProxy();
  • Real Device Detection: Detect if the device is real or not.
await ProtectApp().isItRealDevice();

Installation

Run this command:

flutter pub add protect_app