Push Notifications

The following issue has occurred: Push notifications are not being received on certain devices. What could be the possible causes? Push notifications are being sent from our own server, and we are receiving normal responses from APNs.

Users have confirmed that notifications are enabled on their devices, and they report no network issues. This problem is occurring for multiple users.

There could be many reasons a push is not "received". There could be network problems reaching APNs (even if they have connectivity otherwise), they may have inadvertently turned off notifications for your app, or are sending them to the daily summaries instead, and so on.

Also, how are you determining that the notification is not received? Is it user anecdote, or do you have a mechanism that is reporting notifications being received? What is that mechanism?

If you can share the apns-id of a push notification that is reportedly not received, we can check what may have happened to it.


Argun Tekant /  DTS Engineer / Core Technologies

Dear Argun Tekant

Thank you for your response and for the helpful insights.

We have determined that the notifications should have been successfully delivered but were not received, based on the following information:

  • Our server received a successful response from APNs when the notification request was sent.

  • The user has confirmed that notifications are enabled for our app on their device.

  • The user reported performing the action that triggers the notification three times, and on all three occasions, the notification was not received.
    → Based on this, it is unlikely that the issue is related to network connectivity.

  • The user also reported that the app icon badge did not appear on any of those three occasions.

Unfortunately, we did not set the apns-id option at the time, so we are unable to provide that information. Would it be possible to investigate the issue using the device token and the timestamps of when the notifications were sent?

We appreciate your continued support and guidance. Best regards, Ryo

Even if you don't set the apns-id, the request will be assigned one and it will be in the response. So, by just logging that info in the future, you can track those ids.

We can investigate with the device token and the exact timestamp (including Time Zone) if you can share that.

Thank you for your response.

We will make every effort to add apns-id logging functionality as soon as possible.

Before we proceed with sharing the device token, we would like to confirm whether it is appropriate to post it in this space. We are concerned that someone with access to this thread might misuse the token to send unauthorized push notifications. If you recommend sharing it via email or another secure method, please kindly let us know the preferred way.

Apologies if I came across as pushy. May I ask about the current status of the response regarding this matter?

Thanks

There is no status. We are still waiting for the apns-ids you said you were going to start logging.

If that is not going to happen, we can check using other information. but apns-ids are the most accurate and easiest to investigate with.

If you would like to share other details in private, please open a support request at https://developer.apple.com/contact/request/code-level-support/ and reference this forum thread in the "Did someone from Apple ask you to submit ..." section

Please send the following information to investigate:

  • exact time and date (including time zone) of the push that was not received
  • the public IPv4 address of the server used to send the push
  • your push topic (apns-topic header value)
  • your app’s Bundle ID
  • the device token
  • the apns-id if you have it logged
  • full contents of the headers and the payload
  • any logging you have from the server side that shows the interaction with it and APNs.

Thank you very much. I have shared the device token information via the link you provided. I will wait for their response from there.

Push Notifications
 
 
Q