Flutter plugin to retrieve a persistent unique device identifier across app reinstalls on iOS, Android, Mac, Windows, and Linux.
flutter_udid is a Flutter plugin designed to retrieve a persistent unique device identifier (UDID) that remains the same even after an app is uninstalled and reinstalled. It solves the problem of needing a reliable, cross-platform method for device identification in Flutter applications, supporting iOS, Android, macOS, Windows, and Linux. The plugin uses native platform APIs to ensure the UDID is both persistent and compliant with each operating system's guidelines.
Flutter developers building mobile or desktop applications that require stable device identification for purposes like user analytics, licensing, or personalized experiences across app sessions.
Developers choose flutter_udid because it provides a straightforward, cross-platform solution for persistent device identification without needing to implement platform-specific code themselves. Its use of official platform APIs ensures reliability and compliance, while the optional consistent formatting simplifies handling UDIDs across different operating systems.
Plugin to retrieve a persistent UDID across app reinstalls on iOS, Android, Mac, Windows & Linux.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports iOS, Android, macOS, Windows, and Linux by leveraging native APIs like identifierForVendor on iOS and ANDROID_ID on Android, as detailed in the README's platform table.
Uses platform-specific mechanisms such as iOS Keychain and Android's ANDROID_ID to maintain the UDID across app uninstalls and reinstalls, ensuring stable device identification.
Offers a consistentUdid method that returns a uniformly formatted SHA-256 hash across all platforms, simplifying data handling and storage.
Relies on official platform APIs recommended by Apple and Google, reducing the risk of app rejection or security issues compared to custom workarounds.
The UDID can change after factory resets, Android 8.0 OTA updates, or on rooted/jailbroken devices, as explicitly warned in the README, limiting reliability for long-term tracking.
Changes in the app's digital signature can alter the UDID on both iOS and Android, requiring careful key management and potentially breaking existing installations.
Facilitates device fingerprinting, which may conflict with privacy regulations like GDPR, and on rooted devices, the ID can be spoofed, compromising security.