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

パッケージ詳細v1.6.0

app_set_id

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

AndroidiOSWebmacOS
30日間ダウンロード
3.6万
いいね数
35
Pub ポイント
160

パッケージをインストール

flutter pub add app_set_id

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

AndroidでApp Set IDを取得し、iOSでVendor向け識別子(IDfV)を取得する軽量なFlutterプラグインです。個人データを含まず、アプリのインストールやユーザー セッションの追跡に役立つデバイス固有の識別子にアクセスするための一貫したクロスプラットフォームAPIを提供します。シンプルさとプライバシー準拠を重視して設計されており、分析、ライセンス管理、デバイスベースの認証に適しています。Android、iOS、Web、macOSに対応しており、Flutterプロジェクトにスムーズに統合できます。

用途

  • デバイス間でのアプリインストールの追跡
  • デバイスベースのライセンスの実装
  • 一意の識別子で分析をサポートする
  • ユーザー セッション管理を有効にする
  • セキュアな認証フローの促進

主な機能

  • クロスプラットフォーム互換性
  • プライバシー重視の識別子アクセス
  • シンプルなAPI統合
  • Android アプリセットIDおよびiOS IDfVをサポートしています
  • 最小限のコードフットプリント

適している対象

  • アナリティクス開発者
  • アプリケーションライセンスシステム
  • モバイルアプリのセキュリティ実装
  • デバイス識別子を必要とするクロスプラットフォームのFlutterアプリ

注意事項

  • アプリが再インストールされた場合、識別子が変更される可能性があります
  • 個人識別には適していません
  • Androidで適切な権限が必要です
  • プラットフォームによって動作がわずかに異なります
  • 機密なユーザー追跡には使用しないでください

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

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();

カテゴリー

依存関係

依存関係一覧 2 件

  • plugin_platform_interface^2.1.8
  • web^1.1.0

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。