# imei_plugin **Repository Path**: changleibox/imei_plugin ## Basic Information - **Project Name**: imei_plugin - **Description**: No description available - **Primary Language**: Java - **License**: MIT - **Default Branch**: base - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-27 - **Last Updated**: 2022-03-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: Flutter ## README # Imei Plugin [ ![Build version](https://img.shields.io/badge/pub-v1.2.0-green)](https://pub.dev/packages/imei_plugin) Get unique id device on ios and android ## Getting Started Get IMEI (International Mobile Device Identity) for Android devices less than android 10 with runtime permission for android greater than or equal to 10 returns a UUID and get unique identification on ios An alphanumeric string that uniquely identifies a device for the application provider. **Use** ```dart import 'package:imei_plugin/imei_plugin.dart'; String imei = await ImeiPlugin.getImei(); List multiImei = await ImeiPlugin.getImeiMulti(); //for double-triple SIM phones String uuid = await ImeiPlugin.getId(); ``` if you want to always request permission even if the user has already denied it. You can disable validation **shouldShowRequestPermissionRationale** set value in ```false``` ```dart String platformImei = await ImeiPlugin .getImei( shouldShowRequestPermissionRationale: false ); ``` default value is ```false```. ### New Features! - New param **shouldShowRequestPermissionRationale** only Android - **getId** only android. id generated with UUID.randomUUID() - **getImeiMulti** support for double-triple SIM phones ### Platform Support OS | -- | Android | IOS | License ---- MIT ### Author This plugin is developed, **Free Software, by Kevin Caicedo**