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

A security-focused Flutter package to protect apps from misuse. Includes screenshot blocking, screen recording protection, root/jailbreak detection, and app tampering detection.

πŸ” 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! πŸš€

0
likes
140
points
9
downloads

Documentation

API reference

Publisher

verified publisherzeba.academy

Weekly Downloads

A security-focused Flutter package to protect apps from misuse. Includes screenshot blocking, screen recording protection, root/jailbreak detection, and app tampering detection.

Homepage

Topics

#security #protection #root-detection #jailbreak #flutter-security

License

GPL-3.0 (license)

Dependencies

crypto, device_info_plus, flutter, flutter_jailbreak_detection, package_info_plus, screen_protector

More

Packages that depend on zeba_academy_app_guard