Skip to content

jaworskim/platform_device_id

 
 

Repository files navigation

platform_device_id

get device id from android、ios、windows、linux、mac、web

Description

  • Windows

BIOS UUID e.g. 99A4D301-53F5-11CB-8CA0-9CA39A9E1F01

  • Linux

BIOS UUID e.g. 32a70060-2a39-437e-88e2-d68e6154de9f

  • Mac

IOPlatformUUID e.g. 02662E79-E342-521C-98EA-D4C18B61FEF3

  • Android

AndroidId e.g. 9774d56d682e549c

  • IOS

IdentifierForVendor e.g. 9C287922-EE26-4501-94B5-DDE6F83E1475

  • Web

UserAgent e.g. Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36

Getting Started

a simple usage example:

import 'package:platform_device_id/platform_device_id.dart';

String? deviceId = await PlatformDeviceId.getDeviceId;

Support Platform

  • Android
  • IOS
  • MacOS
  • Windows
  • Linux
  • Web

TODO

  • Support Dart Native platform device id
  • Web id change

Plugins Info

Plugin Pub Points Popularity Likes
platform_device_id pub package pub points popularity likes
platform_device_id_macos pub package pub points popularity likes
platform_device_id_linux pub package pub points popularity likes
platform_device_id_windows pub package pub points popularity likes
platform_device_id_web pub package pub points popularity likes

Go-flutter for windows/macos/linux

see here

Releases

No releases published

Packages

No packages published

Languages

  • C++ 38.7%
  • CMake 23.2%
  • Dart 13.2%
  • HTML 8.0%
  • Ruby 4.3%
  • Swift 4.2%
  • Other 8.4%