FLUTTER ECOSYSTEM

kevincaicedo/imei_plugin

플러터로 안드로이드에서 IMEI를 얻기 위한 플러그인

imei_plugin 프로젝트 이미지
Stars
35
Forks
44
최근 푸시(UTC)
2023. 1. 16.
프로젝트 상태
활성
Kevin Caicedo GitHub avatar
GITHUB User

Kevin Caicedo ↗

Software engineer, Full-stack developer.

Colombia
언어JavaDartRubyObjective-CShellKotlin

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 1 개
  • flutter{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

Imei Plugin

Build version

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

import 'package:imei_plugin/imei_plugin.dart';

String imei = await ImeiPlugin.getImei();
List<String> 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

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