Skip to content
pubscout

app_set_id

1.6.1, released today by 2312.nl

Retrieve App Set ID on Android, IDfV on iOS, MAC address on macOS, and user agent on Web.

WASM-ready
$ flutter pub add app_set_id
Source repository

What it does

A tiny Flutter library to retrieve a vendor-specific privacy-friendly device-unique identifier. It provides the App Set ID on Android, Identifier for Vendor on iOS, a MAC address fallback on macOS, and the browser user agent on Web.

AI-written summary of version 1.6.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a privacy-friendly device-unique identifier scoped to the vendor or developer account.
  • You want to retrieve IDfV on iOS or App Set ID on Android easily.

Skip it when

  • You need a persistent tracking device ID across different developers on Android.
  • You require a reliable, true unique hardware device identifier on the web platform.

Strengths

  • Simple and straightforward API with a single method call.
  • Supports multiple platforms including Android, iOS, macOS, and Web.

Weaknesses

  • Web implementation returns the browser user agent, which is not a proper identifier.
  • macOS fallback relies on the MAC address instead of a real IDfV.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
2

not documented

import 'package:app_set_id/app_set_id.dart';

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

Alternatives

Packages that do the same job and could replace app_set_id.

  • device_info_plus

    Provides comprehensive device and operating system information across platforms, which may include identifiers if needed.

Works with

Packages commonly used together with app_set_id: ones it builds on, ones built on it, and its own family.