筛选项

iMessage 应用

概述

With iOS 10, Branch has added support for extension type apps so that you can bundle the SDK into your iMessage app. Apple didn't build full deep linking support into extension apps, so unfortunately the use cases are limited to driving new installs for now. We'll wait patiently to observe updates over time.

现在,iMessage 应用已与您的 App Store 主应用完全分开,并且应该这么处理。因此,关于如何在 iMessage 应用中使用 Branch,我们想要清除一些常见的困惑。以下是确保集成成功的最佳实践列表。

设置

最佳实践

为消息应用创建一个单独的 Branch 应用

我们强烈建议您通过操作后台 (Dashboard)为 iMessage 应用创建一个单独的 Branch 应用,而不是为整个 iOS 应用创建 。这是为什么?原因是没有一个技术方法可以很好地处理核心应用与消息应用之间的深度链接路由。Apple 尚未为此用例建立支持。

配置一个 Branch App 的设置以链接到 iMessage App Store 中的消息应用,然后配置另一个 Branch app 设置以链接到主 App Store 中的核心应用。这意味着您会用不同的科键比你的主应用的 SDK 集成到您的邮件应用。

仅使用 Branch 来驱动消息应用的安装

Apple 没有为用户点击链接并打开消息应用的用例建立支持。因此,Branch 无法打开现有的预安装消息应用。即使已安装 ,Branch 也只能链接到 iMessage App Store 中的消息应用。

因此,您应该主要使用 Branch 来追踪安装并通过安装进行深度链接。如果已经安装了该应用,则不要期望获得高质量的用户体验。

与主应用分开营销您的消息应用

由于没有根据上下文智能路由到主要 App Store,iMessages App Store 和现有应用的好方法,我们建议您使用与主要 App Store 应用不同的链接来营销您的消息应用。因此,向用户发送消息时,您将其链接到消息应用的方式要与链接到 App Store 应用时的方式不同。

配置重定向

消息重定向简介

If you've read the above, you know that the iMessage App Store is a completely different store than the main App Store. In order to link users to your app in the iMessage App Store, you simply need to append ?app=messages to the link. You can try this on any iOS 10 phone with the links below:

  1. iMessages App Store: https://itunes.apple.com/us/app/classic-mac/id1127542169?app=messages
  2. Main App Store: https://itunes.apple.com/us/app/classic-mac/id1127542169

配置您的 Branch Link

First, create an entirely new app via the Branch dashboard. You can do this in the pull down selector that shows your app name in the top right section. Then head to the link settings page and scroll to the iOS section to configure it as follows:

1860

操作后台 (Dashboard)设置

确保您执行以下操作:

  • 取消选中“我有一个 iOS 应用”
  • 禁用 Universal Link
  • Paste the App Store URL with ?app=messages appended into the URL field
  • 点击保存

您都准备好了!所有的 Branch Link 都将正确链接到 iMessages App Store。

问题排查

追踪安装

To track installs and personalize the first time user experience, you simply need to follow the instructions in the SDK integration guide for iMessage apps. You'll integrate the SDK just as you have for your main App Store app.