Home > Software engineering >  Azure notification hubs - can they send psh notifications without third parties
Azure notification hubs - can they send psh notifications without third parties

Time:05-28

Doing some learning around Azure Notification hubs and trying to understand one of the basic concepts but not able to find any documentation that states it explictly.

Is an azure notification hb able to send a push notification directly or does it have to have a third party set up in its settings (ie APNS, GCM.FCM, WNS, MPNS,ADM, Baidu)?

CodePudding user response:

Azure Notification Hubs (ANH) must be configured with credentials for one or more of the push notification services (PNS) that you've enumerated.

Essentially, each of these providers have a reliable mechanism for delivering a specific notification to a specific device, some of them also provide mechanisms for delivering the same notification to many devices. But those solutions are usually limited to just their platform.

ANH seeks to provide a wrapper for each PNS that provides routing and scale to target many devices with a single request, so that you don't need to write that code separately for each platform. Using more advanced techniques, like templates, can even allow you to abstract away platform differences altogether.

However, ANH is not an alternative to the PNSs you've listed. I hope that helps.

CodePudding user response:

Because push notifications depend on third-party Platform Notification Systems such as Apple's Push Notification Service (APNs) and Google's Firebase Cloud Messaging (FCM), there is no SLA guarantee for the delivery of these messages. After Notification Hubs sends the batches to Platform Notification Systems (SLA guaranteed), it is the responsibility of the Platform Notification Systems to deliver the pushes (no SLA guaranteed).

Reference

Edit: You need to select APNS or FCM ,etc in settings. Reference.

  • Related