app_fortress
Production-grade multi-layer app security - SSL Pinning, Anti-Debug, Code Obfuscation, Play Integrity (Android), App Attest (iOS), Root/Jailbreak detection, and Native C protection layer.
1.0.4
126 downloads/mo
#1812 most downloaded on pub.dev
girija870/app_fortress
What this package is like to depend on
Last release 4 months ago
08 Apr 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 5 of 5 stable releases
Nothing withdrawn
no release was ever pulled
8 months old
5 releases · first in 2025
5 releases in the last 12 months
see the full history below
Release timeline
5 releases · Dec 2025 to Apr 2026Releases
latest 5-
1.0.408 Apr 2026Release notes
Open source →- Added screenshot and screen-recording protection APIs:
AppFortress.enableScreenProtection()AppFortress.disableScreenProtection()ScreenProtectionScopewidget for page-level protection.
- Added Android developer-mode signals:
isDeveloperOptionsEnabledisAdbEnabled- New threat codes:
DEVELOPER_OPTIONS_ENABLED,ADB_ENABLED.
- Added configurable blocking controls:
blockOnDeveloperOptionsblockOnAdb.
- Added policy presets for easier production hardening:
SecurityConfig.banking(...)SecurityConfig.consumer(...)SecurityConfig.enterprise(...).
- Improved Android emulator/debugger reliability and reduced real-device false positives.
- Improved iOS VPN detection behavior to reduce false positives on real devices.
- Normalized cross-platform threat code handling and improved full-check consistency.
- Updated iOS signature behavior:
verifySignaturenow returns explicitUNSUPPORTEDwhen expected signatures are provided, enforcing App Attest + server-side verification flow.
- Extended SSL pinning capabilities:
- Added
PinnedHttpOverridesfor globalHttpOverridesintegration. - Added
CertificatePinConfig.fromAssetCertificates(...)convenience helper. - Added compatibility fallbacks (SPKI primary, cert-hash fallback, legacy cert-bytes fallback).
- Added
- Updated README and example app for new APIs and improved status UX.
- Added screenshot and screen-recording protection APIs:
-
1.0.318 Jan 2026 -
1.0.218 Jan 2026Release notes
Open source →- Improved emulator detection to correctly support third-party emulators (e.g., BlueStacks).
- SSL certificate pinning fixed to use RFC 7469–compliant SPKI public key hashing (existing pins must be regenerated).
⚠️ Migration Required
SSL Pinning: All certificate pins must be regenerated using:
openssl s_client -connect api.example.com:443 -servername api.example.com </dev/null 2>/dev/null | \ openssl x509 -pubkey -noout | \ openssl pkey -pubin -outform der | \ openssl dgst -sha256 -binary | \ openssl enc -base64iOS VPN Detection: No migration needed - automatic security improvement
🎯 Compliance
- SSL Pinning now compliant with RFC 7469 (Public Key Pinning)
- iOS VPN detection follows OWASP Mobile Security Guidelines
- No sensitive information logging in production builds
-
1.0.114 Dec 2025Release notes
Open source →- Fixed false positive VPN detection on Xiaomi/Redmi and Vivo devices
- Removed rmnet_data and ccmni from VPN interface detection (standard mobile data interfaces)
- Fixed false positive root detection on MIUI and FunTouch OS devices
- Removed /data/adb/modules from Magisk check (can exist without root)
- Fixed checkRWSystem() to use precise mount line parsing
- Fixed false positive VPN detection on Xiaomi/Redmi and Vivo devices
-
1.0.013 Dec 2025Release notes
Open source →- Initial release
- Play Integrity API support (Android)
- App Attest support (iOS)
- Root/Jailbreak detection
- Emulator/Simulator detection
- Anti-debugging protection
- Hooking framework detection (Frida, Xposed, Substrate)
- App signature verification
- SSL Certificate Pinning
- String encryption utilities
- SecurityGate widget
- Native C security layer (Android)