v1.0.1
platform_device_id
您可從平台取得裝置 ID - linux/mac/windows/android/ios/web。
411喜歡 1470近 30 天下載140Pub 分數
AndroidiOSWebmacOSWindowsLinux
取得裝置 ID 的 Flutter 外掛
以下為英文專案原文快照,最新內容請造訪 GitHub。
get device id from android、ios、windows、linux、mac、web
BIOS UUID e.g. 99A4D301-53F5-11CB-8CA0-9CA39A9E1F01
BIOS UUID e.g. 32a70060-2a39-437e-88e2-d68e6154de9f
IOPlatformUUID e.g. 02662E79-E342-521C-98EA-D4C18B61FEF3
AndroidId e.g. 9774d56d682e549c
IdentifierForVendor e.g. 9C287922-EE26-4501-94B5-DDE6F83E1475
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
a simple usage example:
import 'package:platform_device_id/platform_device_id.dart';
String? deviceId = await PlatformDeviceId.getDeviceId;
see here