【发布时间】:2019-05-15 10:13:32
【问题描述】:
我用邀请 ID 将我的应用链接分享给我的朋友。
这是我在 Google Play 中应用的链接,带有我与朋友分享的邀请 ID
https://play.google.com/store/apps/details?id=com.manticsol.coucou.pk&inviteid=4352627
现在我的朋友使用我与他分享的链接安装应用程序。当我的朋友使用我的链接安装应用程序时,谁能告诉我如何在我的应用程序中以编程方式获取邀请 ID
我知道第一次从 Play 商店安装应用程序时会调用此 Intent,但我不知道如何获取邀请 ID
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
我从这个链接得到了一点帮助
Android - Is it possible to get install referrer programmatically
但是当我在我的应用程序中实现这个东西时。我在 logcat 中得到了这个响应
utm_source=(not%20set)&utm_medium=(not%20set)
【问题讨论】:
-
嗨,米哈伊尔,我实现了同样的事情,但我无法获取信息。
-
当我实施时,我得到了这个响应 utm_source=(not%20set)&utm_medium=(not%20set) 你能帮我解决我的问题吗?
标签: java android google-play google-play-services