Overview
flutter_udid is a Flutter plugin that provides a persistent unique device identifier (UDID) across app reinstalls on Android, iOS, macOS, Windows, and Linux. It securely generates and stores a consistent ID tied to the device, making it useful for tracking user devices without relying on temporary or volatile identifiers. The plugin leverages platform-specific mechanisms to ensure reliability and privacy compliance. It's particularly helpful in scenarios requiring long-term device identification, such as licensing, analytics, or anti-fraud systems. The source code is publicly available on GitHub for transparency and customization.
Use cases
- Device tracking across app reinstalls
- Licensing and activation systems
- User analytics and attribution
- Anti-fraud and security monitoring
Key features
- Persistent across app reinstallation
- Cross-platform support (Android, iOS, macOS, Windows, Linux)
- Secure storage of device ID
- Uses native platform mechanisms
- Open-source and transparent
Suitable for
- Apps needing long-term device identification
- Security-sensitive applications
- Analytics and licensing platforms
- Developers prioritizing privacy and compliance
Considerations
- Requires appropriate permissions on Android and iOS
- May raise privacy concerns if misused
- Not suitable for identifying users directly
- Depends on platform-level persistence mechanisms
- Should be used with user consent and transparency