FLUTTER ECOSYSTEM

lschmierer/android_play_install_referrer

Android Play 설치 참조자 API용 플러터 플러그인입니다.

android_play_install_referrer 프로젝트 이미지
Stars
21
Forks
46
최근 푸시(UTC)
2025. 10. 4.
프로젝트 상태
보관됨
Lukas Schmierer GitHub avatar
GITHUB User

Lukas Schmierer ↗

DAMEDIC GmbHCologne
언어DartKotlinSwiftObjective-C

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

Deprecation!

This project was forked and is maintained by ChunkyTofuStudios. Please use their project instead https://github.com/ChunkyTofuStudios/play_install_referrer

android_play_install_referrer

pub package

A Flutter plugin for the Android Play Install Referrer API. The plugins throws an exception on iOS and on Android if Google Play Services are not available.

Usage

Get Google Play Install Referrer Details:

ReferrerDetails referrerDetails = await AndroidPlayInstallReferrer.installReferrer;

Passing Data Through Google Play Stroe Link

Pass Data With referrer URL query parameter:

Assuming, links could look like this (replace com.example.myapp with real application ID):

https://play.google.com/store/apps/details?id=com.example.myapp&referrer=someKey%3DsomeValue

Explanation

URL Components: ⤵️

Base URL for the app’s Google Play Store page https://play.google.com/store/apps/details?id=

Application ID: com.example.myapp

URL parameter: &referrer=

Custom Key-Value Data: Allows custom key-value pairs, such as someKey as the key and someValue as the value (%3D represents = in URL encoding):

someKey%3DsomeValue

Testing Referral

To test a referral link, release a version of the app on the Play Store. Referral links cannot be tracked through a debug APK, but they will work in testing phases (internal, open, closed) and in production.

Anyone who installs the app by clicking the referral link can be tracked.

For more information see https://developer.android.com/google/play/installreferrer/library.html