1
votes

We have multiple scenarios where from an Azure App Service for Mobile web api we need to deliver push notifications to multiple client apps. One example is the following:

We have an API serving a mobile app for a single institution with its own branding. 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.

How, using Azure, can the API deliver notifications on certain events to all apps for each institution? Is there Azure support for this or does there have to a new notification hub for each app?

1
Azure Notification Hubs doesn't support this. You will have to configure one hub per app and communicate with all hubs from your backend. See stackoverflow.com/questions/27247622/…Baris Akar
Did you ever come up with a plan for this? I am faced with something similar - I assume I will need to create multiple Notification Hubs - and manage the multiple MS_NotificationHubName, MS_NotificationHubConnectionString values to target the correct Hub when required. But do you know if the Azure Mobile App Service make any assumptions under the covers about a single Hub (aside from the Azure Portal UI which clearly only supports one Hub)?oatsoda

1 Answers

0
votes

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.