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! π