Apple 和 Android 的 Azure 通知中心
Azure Notification Hub to Apple and Android
我们使用 Apple 推送通知功能构建了一个 iOS 应用程序。我们集成了 Apple 文档告诉我们的所有内容,包括配置文件等......开发模式下的测试与 Apple 工具配合得很好。在不久的将来 Google 应该也是如此,但我在这里谈论的只是 iOS 实施...
我们在 Azure 上的后端收集所有 iOS 应用程序的注册 ID。我的意思是:我们将直接在 Apple 服务中存储从注册中检索到的令牌。
现在我们想使用 Azure 将推送通知发送到我们所有的应用程序。但我对阅读 Microsoft 文档感到困惑:
我的移动应用程序必须使用相应的 SDK 注册到 Apple 或 Microsoft 吗?
我们不在应用程序端使用 MS SDK。我们只是在 Apple 注册。我们可以使用 Azure 将推送通知发送到我们的 iOS 应用程序(只是简单地广播到 所有 注册的应用程序)吗?
Our backend on Azure collects the registration ids from all iOS apps proper. I mean: We are storing the token retrieved from registration directly at Apple services.
你把它们存放在哪里?您必须 store/register Azure 通知中心的设备令牌。
Must my mobile apps register to Apple or to Microsoft with corresponding SDK?
您的应用程序必须从 APNS 获取设备令牌,然后在您的 Azure 通知中心注册此令牌,因此基本上您必须同时执行这两项操作。
查看文档 here。在高层次上,整个过程如下所示:
We don't use the MS SDK on app side.
不一定要用SDK,可以用REST API.
我们使用 Apple 推送通知功能构建了一个 iOS 应用程序。我们集成了 Apple 文档告诉我们的所有内容,包括配置文件等......开发模式下的测试与 Apple 工具配合得很好。在不久的将来 Google 应该也是如此,但我在这里谈论的只是 iOS 实施...
我们在 Azure 上的后端收集所有 iOS 应用程序的注册 ID。我的意思是:我们将直接在 Apple 服务中存储从注册中检索到的令牌。
现在我们想使用 Azure 将推送通知发送到我们所有的应用程序。但我对阅读 Microsoft 文档感到困惑:
我的移动应用程序必须使用相应的 SDK 注册到 Apple 或 Microsoft 吗?
我们不在应用程序端使用 MS SDK。我们只是在 Apple 注册。我们可以使用 Azure 将推送通知发送到我们的 iOS 应用程序(只是简单地广播到 所有 注册的应用程序)吗?
Our backend on Azure collects the registration ids from all iOS apps proper. I mean: We are storing the token retrieved from registration directly at Apple services.
你把它们存放在哪里?您必须 store/register Azure 通知中心的设备令牌。
Must my mobile apps register to Apple or to Microsoft with corresponding SDK?
您的应用程序必须从 APNS 获取设备令牌,然后在您的 Azure 通知中心注册此令牌,因此基本上您必须同时执行这两项操作。
查看文档 here。在高层次上,整个过程如下所示:
We don't use the MS SDK on app side.
不一定要用SDK,可以用REST API.