get device id from android and ios
- Android
AndroidId
e.g. 9774d56d682e549c
- IOS
IdentifierForVendor
e.g. 9C287922-EE26-4501-94B5-DDE6F83E1475
a simple usage example:
import 'package:platform_device_id/platform_device_id.dart';
String? deviceId = await PlatformDeviceId.getDeviceId;
- Android
- IOS
- Support Dart Native platform device id
- Web id change
Plugin | Pub | Points | Popularity | Likes |
---|---|---|---|---|
platform_device_id | ||||
platform_device_id_macos | ||||
platform_device_id_linux | ||||
platform_device_id_windows | ||||
platform_device_id_web |
see here