zeba_academy_app_guard 0.0.1
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! ๐