https://github.com/hardik8184/google-play-install-referrer-api-sample
Google Play Install Referrer API Sample
https://github.com/hardik8184/google-play-install-referrer-api-sample
android android-application androidstudio google-play google-play-api install install-referrer install-referrer-api play-install-referrer play-install-referrer-api play-library referrer-api
Last synced: 26 days ago
JSON representation
Google Play Install Referrer API Sample
- Host: GitHub
- URL: https://github.com/hardik8184/google-play-install-referrer-api-sample
- Owner: Hardik8184
- Created: 2019-12-11T07:28:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-11T07:31:00.000Z (almost 6 years ago)
- Last Synced: 2025-04-02T19:38:32.343Z (6 months ago)
- Topics: android, android-application, androidstudio, google-play, google-play-api, install, install-referrer, install-referrer-api, play-install-referrer, play-install-referrer-api, play-library, referrer-api
- Language: Kotlin
- Homepage: https://developer.android.com/google/play/installreferrer/library.html
- Size: 119 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Play Referrer API Sample
* https://developer.android.com/google/play/installreferrer/library.html
* https://android-developers.googleblog.com/2017/11/google-play-referrer-api-track-and.html
* http://blog.techium.jp/entry/2017/11/28/100000_1
* API works with the Play Store app from version 8.3.73 and later for all developers.## InstallReferrerClientImpl
```java
private static final int PLAY_STORE_MIN_APP_VER = 80837300;
private static final String SERVICE_PACKAGE_NAME = "com.android.vending";
private static final String SERVICE_NAME =
"com.google.android.finsky.externalreferrer.GetInstallReferrerService";
private static final String SERVICE_ACTION_NAME =
"com.google.android.finsky.BIND_GET_INSTALL_REFERRER_SERVICE";
```