device_sn 0.1.0 device_sn: ^0.1.0 copied to clipboard
A Flutter plugin to get device SN. Ready for Android ha haha.
device_sn #
A Flutter plugin 🛠 to get device SN. Ready for Android 🚀
Installation #
Add this to your package's pubspec.yaml file:
dependencies:
device_sn: ^0.1.0
Usage example #
import 'package:device_sn/device_sn.dart';
String sn;
try {
sn = await DeviceSn.pdaSn;
} on Exception {
sn = await DeviceSn.commonSn;
}
Contribute #
We would ❤️ to see your contribution!
License #
Distributed under the MIT license. See LICENSE
for more information.
About #
Created by Shusheng.