bgoncharuck / app_set_id

Tiny Flutter plugin to retrieve the App Set ID (Android) or Identifier for Vendor (IDfV, iOS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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.0.0

Import the library and call getIdentifer:

import 'package:app_set_id/app_set_id.dart';

final appSetId = await AppSetId().getIdentifier();

About

Tiny Flutter plugin to retrieve the App Set ID (Android) or Identifier for Vendor (IDfV, iOS)

License:MIT License


Languages

Language:Dart 46.3%Language:Ruby 15.6%Language:HTML 13.8%Language:Kotlin 12.2%Language:Swift 6.9%Language:Objective-C 5.1%