PackageTrack
Sign in Get early access

unique_device_identifier

A Flutter plugin that provides a unique device identifier on all platforms including Android, iOS, Windows, macOS, Linux, Web.

2.1.0 3.8K downloads/mo #4266 most downloaded on pub.dev jonghoon023/unique_device_identifier

What this package is like to depend on

Last release 11 days ago

13 Aug 2026

Release timing varies

gaps range from 2 months to 1.2 years

Nearly every release is documented

notes for 7 of 7 stable releases

Nothing withdrawn

no release was ever pulled

1 years old

7 releases · first in 2025

1 release in the last 12 months

see the full history below

Release timeline

7 releases · Apr 2025 to Aug 2026
2026
Release Pre-release

Releases

latest 7
  1. 2.1.0 13 Aug 2026
    Release notes
    • Updates minimum supported SDK version to Flutter 3.44/Dart 3.12.
    • Migrates to built-in Kotlin

    Thanks to @Mytrin for their contribution.

    Open source →
    Release notes
    • Updates minimum supported SDK version to Flutter 3.44/Dart 3.12.
    • Migrates to built-in Kotlin

    Thanks to @mytrin for their contribution.

    Open source →
  2. 2.0.4 16 Jun 2025
    Release notes
    • Fixed a bug on the Web platform where all devices were generating the same UUID (00000000-0000-4000-8000-000000000000)
    • Implemented Web-specific UUID generation: attempts to generate a UUID using a browser fingerprint; if that fails, falls back to a randomly generated UUID using Dart
    • The randomly generated UUID is stored in window.localStorage and reused across page reloads and browser sessions
    Open source →
    Release notes
    • Fixed a bug on the Web platform where all devices were generating the same UUID (00000000-0000-4000-8000-000000000000)
    • Implemented Web-specific UUID generation: attempts to generate a UUID using a browser fingerprint; if that fails, falls back to a randomly generated UUID using Dart
    • The randomly generated UUID is stored in window.localStorage and reused across page reloads and browser sessions
    Open source →
  3. 2.0.3 23 Apr 2025
    Release notes
    • Fixed incorrect usage example in documentation.
    Open source →
    Release notes
    • Fixed incorrect usage example in documentation.
    Open source →
  4. 2.0.2 22 Apr 2025
    Release notes
    • Fixed version example in README.md to match the latest release.
    Open source →
    Release notes
    • Fixed version example in README.md to match the latest release.
    Open source →
  5. 2.0.1 22 Apr 2025
    Release notes
    • Added detailed doc comments to getUniqueIdentifier() to describe platform-specific behavior.
    • No code changes; this is a documentation-only update.
    Open source →
    Release notes
    • Added detailed doc comments to getUniqueIdentifier() to describe platform-specific behavior.
    • No code changes; this is a documentation-only update.
    Open source →
  6. 2.0.0 15 Apr 2025
    Release notes
    • Breaking Change: getUniqueIdentifier() has been converted to a static method.
      • You can now call it directly without creating an instance:
        final deviceId = await UniqueDeviceIdentifier.getUniqueIdentifier();
      • This change simplifies usage but breaks compatibility with the previous instance-based approach:
        // ❌ This will no longer work:
        final deviceId = await UniqueDeviceIdentifier().getUniqueIdentifier();
    Open source →
    Release notes
    • Breaking Change: getUniqueIdentifier() has been converted to a static method.
      • You can now call it directly without creating an instance:
        final deviceId = await UniqueDeviceIdentifier.getUniqueIdentifier();
        
      • This change simplifies usage but breaks compatibility with the previous instance-based approach:
        // ❌ This will no longer work:
        final deviceId = await UniqueDeviceIdentifier().getUniqueIdentifier();
        
    Open source →
  7. 1.0.0 15 Apr 2025
    Release notes
    • Initial release of the unique_device_identifier Flutter plugin.
    • Supports the following platforms:
      • ✅ Android (Settings.Secure.ANDROID_ID)
      • ✅ iOS (UIDevice.identifierForVendor)
      • ✅ Windows (MachineGuid from registry)
      • ✅ macOS (IOPlatformUUID via IOKit with macOS 12+ fallback)
      • ✅ Linux (/etc/machine-id)
      • ✅ Web (fingerprint-based hash with fallback to random UUID, stored in localStorage)
    • No external dependencies required.
    • Provides a consistent getUniqueIdentifier() interface for all platforms using MethodChannel and Dart interop.
    Open source →
    Release notes
    • Initial release of the unique_device_identifier Flutter plugin.
    • Supports the following platforms:
      • ✅ Android (Settings.Secure.ANDROID_ID)
      • ✅ iOS (UIDevice.identifierForVendor)
      • ✅ Windows (MachineGuid from registry)
      • ✅ macOS (IOPlatformUUID via IOKit with macOS 12+ fallback)
      • ✅ Linux (/etc/machine-id)
      • ✅ Web (fingerprint-based hash with fallback to random UUID, stored in localStorage)
    • No external dependencies required.
    • Provides a consistent getUniqueIdentifier() interface for all platforms using MethodChannel and Dart interop.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive