简体   繁体   English

使用Azure应用服务和/或通知中心向多个应用发送推送通知

[英]Send push notifications to multiple apps using Azure App Services and/or Notification Hubs

We have multiple scenarios where from an Azure App Service for Mobile web api we need to deliver push notifications to multiple client apps. 我们有多种场景,从Azure App Service for Mobile web api我们需要向多个客户端应用程序提供推送通知。 One example is the following: 一个例子如下:

We have an API serving a mobile app for a single institution with its own branding. 我们有一个API为一个拥有自己品牌的机构提供移动应用程序。 This app needs to receive push notifications. 此应用需要接收推送通知。 We now have new clients, other institutions, that insist on having their own branded version of the app, served by the same API. 我们现在有新的客户,其他机构,坚持拥有自己的品牌版本的应用程序,由相同的API提供服务。

How, using Azure, can the API deliver notifications on certain events to all apps for each institution? 如何使用Azure,API可以将某些事件的通知发送给每个机构的所有应用程序吗? Is there Azure support for this or does there have to a new notification hub for each app? Azure是否支持此功能,还是每个应用都需要新的通知中心?

You can do that by sharing a single hub through all the apps if your architecture allows it. 如果您的架构允许,您可以通过所有应用程序共享单个集线器来实现此目的。 You'd have to manage tags to differentiate between those clients. 您必须管理标记以区分这些客户端。

Read more about tag management . 详细了解标签管理

Let me know in the comments if you have additional questions and i'll update the answer accordingly. 如果您有其他问题,请在评论中告诉我,我会相应地更新答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM