2

I just started implementing a push notifications on my app. Apple accepts my notification (my stream_socket_client to sandbox returns true). And my message is of the form:

{ "aps" : { "alert" : "This is the alert", "badge" : 1, "sound" : "bingbong.aiff" }

Yesterday I send several notifications in the morning but none arrived on my phone. That afternoon, I received one notification. Since I received a notification, I'm assuming my code is correct, but I'm surprised the notification took hours...

Is it usual to have such delay (and loss of notifications)?

AllieCat
  • 3,890
  • 10
  • 31
  • 45

1 Answers1

2

It happens but not usual, push notifications is unreliable and it is not guaranteed of delivery according to apple:

Delivery of notifications is a “best effort”, not guaranteed. It is not intended to deliver data to your app, only to notify the user that there is new data available.

check this question: How much delay of ios push notification?

Community
  • 1
  • 1
Tarek Hallak
  • 18,422
  • 7
  • 59
  • 68