A
A
Alexey Adel2017-01-26 18:21:08
Push technologies
Alexey Adel, 2017-01-26 18:21:08

In what cases do you get banned on iOS when sending Pushes?

So the situation is, I work with a development server, I send push notifications to devices, everything works fine, but after 10-20 sends the pushes do not come and I am in a temporary ban ....
I send using PHP, in each request I throw off the certificate, it opens and the session is closed on each send.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav, 2017-02-02
@ghostiam

All pushes must be sent in one connection, and not opened each time for a new push, otherwise the server will regard this as an attack on it and block it (this is described in the documentation). You need to make some kind of buffer where messages for sending will be stored and sent once every N seconds or when the buffer is filled with N messages.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question