Can Azure Notification Hub handle WidgetKit push tokens?

Chirag Murabiya 0 Reputation points

Can Azure Notification Hub handle WidgetKit push tokens? I am trying to implement widgetPush (refer https://developer.apple.com/documentation/WidgetKit/Updating-widgets-with-widgetkit-push-notifications)

AI said ANH does not support for WidgetKit-specific widgetPush tokens or any special handling for them" does it mean that ANH does not support widgetPush tokens?

  1. Chirag Murabiya 0 Reputation points

    When you say "support for WidgetKit-specific widgetPush tokens or any special handling for them" does it mean that ANH does not support widgetPush tokens?

  2. Aditya N 2,990 Reputation points β€’ Microsoft External Staff β€’ Moderator

    Hello @Chirag Murabiya

    Thank you for reaching out Microsoft Q&A. Push notifications are delivered through platform-specific infrastructures called Platform Notification Systems (PNS).

    There is no official document explicitly mentioning the support for WidgetKit-specific widgetPush tokens may be AI has given such response on those lines.

    But If you’re trying to use widgetPush tokens, verify whether those tokens are the same APNS token type that Notification Hubs expects for iOS registration.

    https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-overview

  3. Aditya N 2,990 Reputation points β€’ Microsoft External Staff β€’ Moderator

    Hello @Chirag Murabiya

    Please could you let us know if you had a chance to review the suggestion provided.

  4. Chirag Murabiya 0 Reputation points

    I am not sure what you mean when you say "But If you’re trying to use widgetPush tokens, verify whether those tokens are the same APNS token type that Notification Hubs expects for iOS registration"

    By widgetPush we are referring to https://developer.apple.com/documentation/WidgetKit/Updating-widgets-with-widgetkit-push-notifications

    Is it true that ANH cannot handle WidgetKit push tokens?

  5. Aditya N 2,990 Reputation points β€’ Microsoft External Staff β€’ Moderator

    Hello @Chirag Murabiya

    I understand, I have gone through the document you shared. However we as a part of Microsoft support can provide our inputs only from Microsoft standpoint according to available documentation. As the Microsoft documentation https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-overviewsays Push notifications are delivered through platform-specific infrastructures called Platform Notification Systems (PNS) and developer must work separately with Apple Push Notification Service (APNS), hence the above suggestion to verify whether the tokens(WidgetKit push) are of APNS type. Pasting screenshot of push flow below.

    πŸ‘ User's image

    But there is official documentation from Microsoft explicitly mentioning the support for WidgetKit-specific widgetPush tokens is available.

    Hope it helps.


Sign in to comment