FLUTTER ECOSYSTEM

alfanthariq/mobile_device_identifier

モバイルデバイス(Android / iOS)からデバイスIDを取得するためのFlutterライブラリ

モバイルデバイス識別子 のプロジェクト画像
Stars
27
Forks
42
最終プッシュ(UTC)
2025/09/18
プロジェクト状態
公開中
Nafi Alfanthariq GitHub avatar
GITHUB User

Nafi Alfanthariq ↗

Surabaya, Indonesia
言語DartRubySwiftKotlinObjective-C

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 4 件
  • flutter{"sdk":"flutter"}
  • plugin_platform_interface^2.1.6
  • flutter_test開発用{"sdk":"flutter"}
  • flutter_lints開発用^3.0.1

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

Actions Status

mobile_device_identifier

Flutter package to obtain unique ID from mobile device (android / ios) with uninstall resistant

Android minSdkVersion = 21
iOS minimum version = 11

Usage

final _mobileDeviceIdentifier = MobileDeviceIdentifier().getDeviceId();

You can combined with any encoding method to beautify string id. For example use Base64 encode with return value like

RjFGMUJDNUItQkJERC00NjZCLUE2MzgtQzRDNUZGMDdCQzhF

Method

Android

For android device, this package use UUID with MediaDrm to generate unique ID. With that, unique ID will not change even after uninstalling application

iOS

For iPhone device, this package use UUID with JNKeychain to generate unique ID to make ID still same even after reinstall application