This Flutter library aims to simplify the process of obtaining a unique identifier for mobile devices. It specifically addresses the challenges associated with non-persistent UUIDs on both Android and iOS platforms.
- Import the package
import 'package:device_id/device_id.dart';
- Call the method
uuid()
to get the device Id
String deviceId = await DeviceId.uuid();