question

developerliketodev-9535 avatar image
0 Votes"
developerliketodev-9535 asked SnehaAgrawal-MSFT edited

Not recive push notifications for ios

https://docs.microsoft.com/en-us/azure/notification-hubs/xamarin-notification-hubs-ios-push-notification-apns-get-started

I made notifications for this instruction, but I do not receive them, the message is displayed as in the screenshot and the project is being successfully build, thanks in advance.142486-image-2021-10-21t13-24-21-902z.png


azure-notification-hubs
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

developerliketodev-9535 avatar image
0 Votes"
developerliketodev-9535 answered

142502-screen-shot-2021-10-21-at-51910-pm.png



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SnehaAgrawal-MSFT avatar image
0 Votes"
SnehaAgrawal-MSFT answered SnehaAgrawal-MSFT edited

Apologize for late response! You may want to know that Successful notifications means that push notifications is delivered to the external PNS now it is the responsibility of the PNS to deliver the notifications to target devices.

Also Note that, Notification delivery can fail at any of the four stages in the push notification process (client, application back end, Notification Hubs, and the platform's push notification service).

Check this article for diagnostics logs Enable diagnostics logs for Notification Hubs

If your notification doesn't arrive at the client device, an error might have occurred when Notification Hubs tried to deliver it to the push notification service. For example, the payload size might exceed the maximum allowed by the push notification service, or the credentials configured in Notification Hubs might be invalid.

You can review telemetry using below steps:

  1. Go the portal on the Overview tab you can see an aggregated view of registrations, notifications, and errors by platform.

  2. On the Monitor tab, you can add many other platform-specific metrics for a deeper look. You can look specifically at errors that are returned when Notification Hubs tries to send the notification to the push notification service.

  3. Begin by reviewing Incoming Messages, Registration Operations, and Successful Notifications. Then, go to the per-platform tab to review errors that are specific to the push notification service.

  4. If the authentication settings for your notification hub are incorrect, the message PNS Authentication Error appears. It's a good indication to check the push notification service credentials.


You may refer to this doc link for more details: https://docs.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-fixer

Let us know if issue remains or further query.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.