๐Ÿ” Zeba Academy App Guard

zeba_academy_app_guard is a powerful Flutter security package designed to protect your app from misuse, reverse engineering, and unauthorized access.

Built with a security-first mindset, this package provides essential protections used in banking, OTT, and enterprise-grade apps.


โœจ Features

๐Ÿ”’ Screenshot Protection Prevent users from taking screenshots of sensitive screens.

๐ŸŽฅ Screen Recording Protection Block screen recording to safeguard confidential data.

โš ๏ธ Root / Jailbreak Detection Detect compromised devices and take action.

๐Ÿ›ก๏ธ App Tampering Detection Identify if the app has been modified or repackaged.


๐Ÿš€ Getting Started

1๏ธโƒฃ Add Dependency

dependencies:
  zeba_academy_app_guard: ^0.0.1

2๏ธโƒฃ Import Package

import 'package:zeba_academy_app_guard/zeba_academy_app_guard.dart';

3๏ธโƒฃ Initialize Guard

final guard = ZebaAppGuard();

await guard.initialize();

4๏ธโƒฃ Check Security Status

bool isRooted = await guard.isDeviceCompromised();
bool isTampered = await guard.isAppTampered();

if (isRooted || isTampered) {
  // Take action (block app, show warning, etc.)
}

โš™๏ธ Platform Setup

๐Ÿ“ฑ Android

Add permission in:

android/app/src/main/AndroidManifest.xml
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>

๐Ÿ iOS

Update:

ios/Runner/Info.plist
<key>NSPhotoLibraryUsageDescription</key>
<string>Prevent screenshots for security</string>

๐Ÿงช Testing

Run:

flutter test

โœ” All platform calls are safely handled in test environment โœ” No crashes from native plugins


โš ๏ธ Important Notes

  • Root/Jailbreak detection may vary by device
  • Screenshot/recording protection depends on OS limitations
  • Tamper detection should be combined with backend validation for maximum security

๐Ÿ”ฅ Roadmap

  • Real-time screenshot detection
  • Emulator detection
  • Debugger detection
  • Anti-hook (Frida/Xposed) protection
  • iOS advanced security enhancements

๐Ÿค Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.


๐Ÿ“„ License

This project is licensed under the GNU General Public License (GPL v3).


๐Ÿ‘จโ€๐Ÿ’ป About Me

โœจ Iโ€™m Sufyan bin Uzayr, an open-source developer passionate about building and sharing meaningful projects. You can learn more about me and my work at sufyanism.com or connect with me on Linkedin


๐ŸŒ Zeba Academy

Your all-in-one no-bloat hub! ๐Ÿš€

Explore cutting-edge resources in coding, tech, and development at zeba.academy and code.zeba.academy. Empower yourself with practical skills through curated directives, real-world projects, and hands-on experience.

๐Ÿ’ป Level up your tech game today!

โžก Visit our main site: https://zeba.academy โžก Explore hands-on courses: https://code.zeba.academy โžก YouTube: https://www.youtube.com/@zeba.academy โžก Instagram: https://www.instagram.com/zeba.academy/


๐Ÿ’™ Support

If you like this package:

โญ Star the repo ๐Ÿ“ข Share with others ๐Ÿ’ก Contribute ideas


Thank you for visiting! ๐Ÿš€