搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫lschmierer/android_play_install_referrer

android_play_install_referrer

一個用於 Android Play 安裝引用程式 API 的 Flutter 插件。

android_play_install_referrer 專案封面
星標
21
分支
46
最近推送(UTC)
2025年10月4日
專案狀態
已封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

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

Lukas Schmierer GitHub avatar
GitHub 作者

Lukas Schmierer ↗

DAMEDIC GmbHCologne
語言DartKotlinSwiftObjective-C

使用的依賴

依賴清單 2 項

  • flutter{"sdk":"flutter"}
  • flutter_test開發依賴{"sdk":"flutter"}

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗