platform_device_id
Get device id from android、ios、windows、linux、mac
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
- IOS
identifierForVendor
Getting Started
Install
Add this to your package’s pubspec.yaml file:
dependencies: |
Usage
a simple usage example:
import 'package:platform_device_id/platform_device_id.dart'; |
Use go-flutter
Usage
Import as:
import platform_device_id "github.com/BestBurning/platform_device_id/go" |
Then add the following option to your go-flutter application options:
flutter.AddPlugin(&platform_device_id.PlatformDeviceIdPlugin{}), |
Pub Dev
it’s published to pub.dev
Source Code
platform_device_id open source with Github
and the licenses is BSD-3-Clause
本文标题:platform_device_id
文章作者:Shea
原始链接:https://di1shuai.com/platform_device_id.html
版权声明:本博客所有文章除特别声明外,均采用 CC BY-NC-SA 3.0 CN 许可协议。转载请注明出处!