unique_device_identifier 1.0.0
unique_device_identifier: ^1.0.0 copied to clipboard
A Flutter plugin that provides a unique device identifier on all platforms including Android, iOS, Windows, macOS, Linux, Web.
Changelog #
All notable changes to this project will be documented in this file.
1.0.0 #
- Initial release of the
unique_device_identifierFlutter plugin. - Supports the following platforms:
- ✅ Android (
Settings.Secure.ANDROID_ID) - ✅ iOS (
UIDevice.identifierForVendor) - ✅ Windows (
MachineGuidfrom registry) - ✅ macOS (
IOPlatformUUIDvia IOKit with macOS 12+ fallback) - ✅ Linux (
/etc/machine-id) - ✅ Web (fingerprint-based hash with fallback to random UUID, stored in
localStorage)
- ✅ Android (
- No external dependencies required.
- Provides a consistent
getUniqueIdentifier()interface for all platforms usingMethodChanneland Dart interop.