这取决于是如何安装的应用程序第一次运行的应用程序的动作(Android版) [英] First time app run action depending on how app was installed (Android)

查看:161
本文介绍了这取决于是如何安装的应用程序第一次运行的应用程序的动作(Android版)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个原生的Andr​​oid应用程序,用户将安装专门从谷歌播放。我们希望在应用程序中显示的第一个内容取决于用户是否发现应用自己在谷歌Play上进行搜索改变,或者如果他们遵循从我们的网站向谷歌的链接从浏览器中播放的页面。

We have a native Android App that users will install exclusively from Google Play. We want the first content displayed in the app to change depending on whether the user found the app by themselves by searching in Google Play, or if they followed a link from our website to the Google Play page from a browser.

这可能吗?

如何?

另请参见<一个相关的问题href=\"http://stackoverflow.com/questions/30707377/first-time-app-run-action-depending-on-how-app-was-installed-ios\">iOS.

推荐答案

您可以使用谷歌播放安装引荐一个通过根据来源传递不同的价值? IE浏览器。如果从您的网站和搜索的空白值,如果在一个值传递。

You could use the Google Play Install Referrer an pass a different value through depending on the source? ie. Pass in a value if from your website and a blank value if from a search.

<一个href=\"https://developers.google.com/android/reference/com/google/android/gms/tagmanager/InstallReferrerReceiver\" rel=\"nofollow\">https://developers.google.com/android/reference/com/google/android/gms/tagmanager/InstallReferrerReceiver

这篇关于这取决于是如何安装的应用程序第一次运行的应用程序的动作(Android版)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆