Apple Smart Banner上的app-argument是否会在安装时传递给app? [英] Does app-argument on Apple Smart Banner get passed to app on install?

查看:106
本文介绍了Apple Smart Banner上的app-argument是否会在安装时传递给app?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为我的应用实施了Apple智能横幅广告,其中包含一个app-argument,其中包含我希望该应用在我的网站上打开的网址。我认为当用户安装应用程序时会通过,但似乎没有。

I've implemented a Apple Smart Banner for my app, including a app-argument with a URL I'd like the app to open on my site. I thought that would pass through when the user installs the app, but it doesn't seem to.

步骤 - 用户访问页面,没有安装应用程序,点击查看,转到应用程序商店,安装应用程序,然后点击在App Store中打开。该应用程序打开,但它似乎没有传入app-argument。请注意,如果他们然后返回到网页,智能横幅现在说Open,它可以工作并传递app-argument,而不是第一次安装。

The steps - user visits page, doesn't have app installed, clicks View, goes to app store, installs app and then taps Open in the App Store. The app opens, but it doesn't appear to get the app-argument passed in. Note that if they then go back to the web page, the Smart Banner now says Open and that works and passes the app-argument, just not on the first install.

我是否误解了应该发生的事情?如果是这样,这使得Smart Banner对我来说几乎没用。

Have I misunderstood what is supposed to happen? If so, this makes the Smart Banner pretty much useless for me.

Gary

推荐答案

来自文档:


如果应用程序已安装在用户的设备上,则横幅会智能地更改其操作,并且点击横幅只会打开应用程序。如果用户的设备上没有您的应用程序,点击横幅将会将他带到App Store中的应用程序条目。当他返回您的网站时,横幅中会出现一个进度条,指示下载完成所需的时间。当应用程序完成下载后,查看按钮将变为打开按钮,点击横幅将打开应用程序,同时从您的网站保留用户的上下文。

If the app is already installed on a user's device, the banner intelligently changes its action, and tapping the banner will simply open the app. If the user doesn’t have your app on his device, tapping on the banner will take him to the app’s entry in the App Store. When he returns to your website, a progress bar appears in the banner, indicating how much longer the download will take to complete. When the app finishes downloading, the View button changes to an Open button, and tapping the banner will open the app while preserving the user’s context from your website.

如果通过横幅打开应用程序,它只发送URL参数。如果它是通过AppStore或通过SpringBoard打开的,它将不会发送它。

It only sends the URL param if the app is opened via the banner. If it's opened via AppStore or via SpringBoard, it won't send it.

这篇关于Apple Smart Banner上的app-argument是否会在安装时传递给app?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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