Can Azure Notification Hub handle WidgetKit push tokens?
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?
-
Chirag Murabiya 0 Reputation points
When you say "support for WidgetKit-specific
widgetPushtokens or any special handling for them" does it mean that ANH does not support widgetPush tokens? -
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
widgetPushtokens may be AI has given such response on those lines.But If youβre trying to use
widgetPushtokens, verify whether those tokens are the same APNS token type that Notification Hubs expects for iOS registration. -
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.
-
Chirag Murabiya 0 Reputation points
I am not sure what you mean when you say "But If youβre trying to use
widgetPushtokens, 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?
-
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.
But there is official documentation from Microsoft explicitly mentioning the support for WidgetKit-specific
widgetPushtokens is available.Hope it helps.
Sign in to comment
