ios - Apple Smart Banner 上的应用参数是否会在安装时传递给应用?

标签 ios

我已经为我的应用程序实现了一个 Apple Smart Banner,包括一个带有我希望该应用程序在我的网站上打开的 URL 的应用程序参数。我认为这会在用户安装应用程序时通过,但似乎没有。

步骤 - 用户访问页面,未安装应用程序,单击“查看”,转到应用程序商店,安装应用程序,然后在应用程序商店中点击“打开”。该应用程序打开,但似乎没有传入应用程序参数。请注意,如果他们随后返回网页,智能横幅现在会显示“打开”并且可以正常工作并传递应用程序参数,只是没有打开第一次安装。

我是否误解了应该发生的事情?如果是这样,那么智能横幅对我来说几乎毫无用处。

加里

最佳答案

来自文档:

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 打开,则不会发送。

关于ios - Apple Smart Banner 上的应用参数是否会在安装时传递给应用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17035004/

相关文章:

jquery - 在 iPhone 上验证 PayPal 表单

ios - 谷歌地图iso瓦片层不起作用GMSTileURLConstructor GMSURLTileLayer

ios - AVAssetTrack 的 Assets 属性有时为零

ios - 苹果HLS离线视频播放如果网络不可用则无法播放2个视频

ios - 如何以编程方式打开 Apple Reminders 应用程序?

ios - 织物 - MoPub : No ads found for ad unit

iphone - UIImagePicker allowsEditing卡在中心

ios - 在 NSURLSession 中获取值

ios - 使用 NetworkExtension 框架重定向用户

ios - 如何关闭滑动菜单并链接回选定的选项卡?