안드로이드에서는 앱 세트 ID를, iOS에서는 공급업체용 식별자(IDfV)를 검색하는 가벼운 플러터 플러그인입니다. 개인 정보를 포함하지 않고 앱 설치 또는 사용자 세션 추적에 유용한 장치 고유 식별자에 접근할 수 있는 일관된 크로스플랫폼 API를 제공합니다. 간단함과 개인정보 보호 준수를 고려하여 설계되어 분석, 라이선싱 또는 기기 기반 인증에 적합합니다. 안드로이드, iOS, 웹 및 맥OS에서 사용 가능하며 플러터 프로젝트와 원활하게 통합됩니다.
사용 사례
장치 간 앱 설치 추적
장치 기반 라이선스 구현
고유 식별자로 분석 지원
사용자 세션 관리 활성화
안전한 인증 흐름 지원
주요 기능
크로스 플랫폼 호환성
개인정보 중심 식별자 액세스
간단한 API 통합
Android 앱 세트 ID 및 iOS IDfV를 지원합니다
최소 코드 크기
적합한 대상
분석 개발자
앱 라이선스 시스템
모바일 앱 보안 구현
기기 식별자가 필요한 크로스플랫폼 플러터 앱
고려 사항
앱을 다시 설치하면 식별자가 변경될 수 있습니다
개인 식별에 적합하지 않습니다
Android에서 적절한 권한이 필요합니다
플랫폼 간에 동작이 약간 다릅니다
민감한 사용자 추적에 사용해서는 안 됩니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
app_set_id
A tiny Flutter library to retrieve a vendor-specific privacy-friendly device-unique identifier, also called IDfV or App Set ID.
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.
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 = awaitAppSetId().getIdentifier();