device_uuid 0.0.4 device_uuid: ^0.0.4 copied to clipboard
A plugin to get the device's UUID. In Android, the UUID is ANDROID_ID encrypted using SHA-1. In iOS, the UUID is a hash string saved in Keychain.
Use this package as a library
Depend on it
Run this command:
$ flutter pub add device_uuid
This will add a line like this to your package's pubspec.yaml (and run an implicit
flutter pub get):
Alternatively, your editor might support
flutter pub get. Check the docs for your editor to learn more.
Now in your Dart code, you can use: