iOS App Store 传递参数在商店下载链接 [英] iOS App Store Pass Parameters in Store Download Link

查看:89
本文介绍了iOS App Store 传递参数在商店下载链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

类似这个问题:如何制作ios App Store带参数的链接?

我有兴趣将参数传递给 iOS 应用商店中的下载链接.从我读到的内容来看,似乎只有在应用程序已经安装并且用户点击智能应用程序横幅时才会将参数传递给应用程序.

I am interested in passing parameters to the download link in the iOS app store. From what I've read, it seems that the parameters are only passed to the application if it was already installed, and the user tapped the smart app banner.

我想要做的是将参数传递给下载链接,这样当用户下载时,他们第一次打开应用程序时,参数就会被传递.

What I want to do is pass parameters to the download link such that when a user downloads, the first time they open the app, the parameters will be passed.

主要是,我希望允许用户通过电子邮件或 Facebook 邀请他们的朋友玩我的应用程序,当朋友使用他们的链接下载时,它会向原始播放器发送推送,通知他们的朋友现在拥有该应用程序.

Mainly, I want to allow users to invite their friends to play my app through email or facebook and when the friend downloads using their link, it will send a push to the original player to notify that their friend now has the app.

谢谢!

推荐答案

在即将到来的 iOS 9 中,这变得更容易了,因为 cookie 可以在 Safari 和应用内的 Safari 视图控制器之间共享!只需在浏览器中保存一个 cookie 并跟踪最后点击的链接.然后,当用户打开您的应用程序时,在显示微调器的同时在后台打开一个不可见的 Safari 视图控制器.一旦您可以检查 cookie 并看到最后一个链接被点击,您就可以停止微调器——这应该是一个非常快的操作.

This is now easier with the coming iOS 9, because cookies can be shared between Safari and the in-app Safari View Controller! Simply keep a cookie in the browser and track the last link clicked on. Then when the user opens your app, open up an invisible Safari View Controller in the background while you show a spinner. As soon as you can inspect the cookie and see the last link clicked, you can stop the spinner--it should be a very fast operation.

我们在 Branch 上免费提供此服务,我们在那里为某些人提供了可自定义的网页横幅时间.现在我们很高兴将 Safari 视图控制器合并到我们的开源 SDK 中!我们还有一个数字指纹版本,可让您在 iOS 9 之前的设备上执行相同操作.我们使用IP 地址、操作系统、操作系统版本等来比较浏览器中的点击和应用中的打开.这种方法有利有弊.如果您有兴趣,我们很乐意进一步详细说明.

We offer this for no cost at Branch, where we've had a customizable web banner for some time. Now we're excited to incorporate the Safari View Controller into our open-source SDK! We also have a version of digital fingerprinting that allows you to do the same on pre-iOS 9 devices. We use IP address, OS, OS version and more to compare a click in a browser to an open in an app. This approach has pros and cons.. happy to go into further detail if you're interested.

这篇关于iOS App Store 传递参数在商店下载链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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