device_serial_number 0.0.1 copy "device_serial_number: ^0.0.1" to clipboard
device_serial_number: ^0.0.1 copied to clipboard

PlatformAndroid

Reads the device hardware serial number on Android, including SUNMI POS terminals.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add device_serial_number

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  device_serial_number: ^0.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:device_serial_number/device_serial_number.dart';
0
likes
150
points
29
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Reads the device hardware serial number on Android, including SUNMI POS terminals.

Topics

#android #device-info #serial-number #sunmi #pos

License

MIT (license)

Dependencies

flutter

More

Packages that depend on device_serial_number

Packages that implement device_serial_number