serial_number 0.0.6 serial_number: ^0.0.6 copied to clipboard
Get the serial number of the physical device. This was created to meet an enterprise application that requires the serial number, making this public in case anyone needs the same functionality.
serial_number #
This package will retrieve the serial number of the device that the software is installed on to.
This plugin only works for Android currently. iOS release coming later.
Getting Started #
Sample usage:
import "package:serial_number/serial_number.dart";
String sn = await SerialNumber.serialNumber;
debugPrint(serial);
// only work on Android.