easy_device_id 1.2.0 easy_device_id: ^1.2.0 copied to clipboard
Easy device id package that supports storing device-id into the keychain for android and iOS.
Usage #
Add easy_device_id
as a dependency in your pubspec.yaml file.
Example #
// Import package
import 'package:easy_device_id/easy_device_id.dart';
// Instantiate it
final deviceId = await getDeviceId(false);
final storageDeviceId = await getDeviceId(true);
print(deviceId);
print(storageDeviceId);