https://github.com/bestburning/platform_device_id
flutter plugin to get device id
https://github.com/bestburning/platform_device_id
andorid device deviceid go-flutter id ios linux mac windows
Last synced: 2 months ago
JSON representation
flutter plugin to get device id
- Host: GitHub
- URL: https://github.com/bestburning/platform_device_id
- Owner: BestBurning
- License: bsd-3-clause
- Created: 2020-04-18T14:04:19.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-12T07:18:06.000Z (about 1 year ago)
- Last Synced: 2025-03-28T18:07:17.800Z (3 months ago)
- Topics: andorid, device, deviceid, go-flutter, id, ios, linux, mac, windows
- Language: C++
- Homepage: https://pub.dev/packages?q=platform_device_id
- Size: 317 KB
- Stars: 81
- Watchers: 1
- Forks: 239
- Open Issues: 39
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```dart
import 'package:platform_device_id/platform_device_id.dart';String? deviceId = await PlatformDeviceId.getDeviceId;
```
## Support Platform- [x] Android
- [x] IOS
- [x] MacOS
- [x] Windows
- [x] Linux
- [x] Web## TODO
- [ ] Support Dart Native platform device id
- [ ] Web id change## Plugins Info
| Plugin | Pub | Points | Popularity | Likes |
|--------|-----|--------|------------|-------|
| [platform_device_id](./platform_device_id/) | [](https://pub.dev/packages/platform_device_id) | [](https://pub.dev/packages/platform_device_id/score) | [](https://pub.dev/packages/platform_device_id/score) | [](https://pub.dev/packages/platform_device_id/score) |
| [platform_device_id_macos](./platform_device_id_macos/) | [](https://pub.dev/packages/platform_device_id_macos) | [](https://pub.dev/packages/platform_device_id_macos/score) | [](https://pub.dev/packages/platform_device_id_macos/score) | [](https://pub.dev/packages/platform_device_id_macos/score) |
| [platform_device_id_linux](./platform_device_id_linux/) | [](https://pub.dev/packages/platform_device_id_linux) | [](https://pub.dev/packages/platform_device_id_linux/score) | [](https://pub.dev/packages/platform_device_id_linux/score) | [](https://pub.dev/packages/platform_device_id_linux/score) |
| [platform_device_id_windows](./platform_device_id_windows/) | [](https://pub.dev/packages/platform_device_id_windows) | [](https://pub.dev/packages/platform_device_id_windows/score) | [](https://pub.dev/packages/platform_device_id_windows/score) | [](https://pub.dev/packages/platform_device_id_windows/score) |
| [platform_device_id_web](./platform_device_id_web/) | [](https://pub.dev/packages/platform_device_id_web) | [](https://pub.dev/packages/platform_device_id_web/score) | [](https://pub.dev/packages/platform_device_id_web/score) | [](https://pub.dev/packages/platform_device_id_web/score) |## Go-flutter for windows/macos/linux
see [here](platform_device_id/go)