パッケージ、リポジトリ、アプリカテゴリを検索

GitHub リポジトリerickok/app_set_id

app_set_id

アプリセットID(Android)またはベンダー用識別子(IDfV、iOS)を取得するための軽量なFlutterプラグイン

app_set_id のプロジェクト画像
スター
13
フォーク
4
最終プッシュ(UTC)
2026/08/14
プロジェクト状態
公開中

元の README

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

app_set_id

pub package

A tiny Flutter library to retrieve a vendor-specific privacy-friendly device-unique identifier, also called IDfV or App Set ID.

Android

On Android it returns the App Set ID (ASID). As per the developer documentation:

For apps that are installed by the Google Play store, the app set ID API returns an ID scoped to the set of apps published under the same Google Play developer account.

iOS

On iOS/iPadOS it returns the Identifier for Vendor (IDfV). as per the developer documentation:

The value of this property is the same for apps that come from the same vendor running on the same device. (...) Normally, the vendor is determined by data provided by the App Store.

MacOS

No true IDfV exists on MacOS, so it returns the MAC address of the first network interface (in hexadecimal format, without separators). This is not a real IDfV, but Apple recommends using it as a fallback in the developer documentation, even in the context of validating purchases.

Web

For ease of integration in web projects, on web it returns the browser user agent. This is NOT a good identifier and only here for development purposes.

Installation

Add to your pubspec.yaml file:

dependencies:
  app_set_id: ^1.5.2

Import the library and call getIdentifer:

import 'package:app_set_id/app_set_id.dart';

final appSetId = await AppSetId().getIdentifier();
Eric Kok GitHub avatar
GitHub 作者

Eric Kok ↗

Senior Android developer, PhD graduate, beer lover

Contractor at VRT Sporza & open-source dev as 2312 developmentLeuven, Belgium公式サイト ↗
言語SwiftDartRubyKotlinHTMLObjective-C

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

使用している依存関係

依存関係一覧 6 件

  • flutter{"sdk":"flutter"}
  • flutter_web_plugins{"sdk":"flutter"}
  • plugin_platform_interface^2.1.8
  • web^1.1.0
  • flutter_test開発用{"sdk":"flutter"}
  • flutter_lints開発用^2.0.0

プロジェクトに合うリポジトリを選ぶには?

用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。

  1. 名前・作者・説明で検索し、技術トピックで絞り込みます。
  2. スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
  3. 利用前に GitHub で README、ライセンス、Issues を確認します。

情報源と管理

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗