imei_getter 0.3.0
imei_getter: ^0.3.0 copied to clipboard
A Flutter plugin to get device identifiers (IMEI on older Android, ANDROID_ID on newer Android, identifierForVendor on iOS) with proper permission handling.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add imei_getterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
imei_getter: ^0.3.0Alternatively, 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:imei_getter/imei_getter.dart';