Overview
The is_pirated package helps detect if an app is installed from an unauthorized source on Android and iOS. It provides mechanisms to verify the app's integrity and can automatically terminate the app or redirect users to the official store listing if piracy is detected. Designed for developers seeking to protect their apps from unauthorized distribution, it integrates seamlessly into Flutter projects with minimal setup. The package leverages platform-specific checks to ensure reliable detection across devices.
Use cases
- Protecting paid apps from unauthorized distribution
- Automatically terminating pirated app instances
- Redirecting users to official app store listings
- Enforcing license validation at runtime
- Preventing use of modified or cracked app versions
Key features
- Detects installation from unauthorized sources
- Supports automatic app termination
- Offers redirection to store listing
- Cross-platform compatibility (Android & iOS)
- Simple integration via Flutter pub
- Lightweight and minimal overhead
Suitable for
- Developers of paid or premium Flutter apps
- Apps requiring strong anti-piracy measures
- Projects targeting both Android and iOS
- Teams focused on app security and licensing
- Applications distributed through official app stores
Considerations
- May trigger false positives on rooted/jailbroken devices
- Requires careful handling to avoid user frustration
- Not a substitute for server-side license verification
- Limited effectiveness against advanced tampering
- Should be used alongside other security practices