I've been using the latest version of the PushServer, both in development and in production, both with iOS and Android devices, with two small changes (I added a title and an ID fields to the notifications sent), with success, but usually have a problem with iOS.
I must usually send the notification 2 (sometimes 3) times for the server to actually send it to iOS devices, and this is a problem, because it doesn't have problems with Android devices, that then receive the same notification multiple times.
This happens both with Apple's dev and production push notification server and, from the logs, I can't see any difference between when the notification works and when it doesn't. I get no error or anything else.
I'm pretty sure that, when the notification doesn't work and I have to send it again, it doesn't work for all devices, not just for some: it seems the server isn't sending it at all (but I get the response message saying the notification was sent).
I suppose the problem is not related to a malformed notification, since if I try to send the same notification immediately after (just by refreshing the browser's page), it works.
Is it possible that the PushServer periodically drops the connection to Apple's push server and estabilishes it again whith the second notification attempt, or maybe it doesn't correctly handle a connection problem when sending the notification?
I must usually send the notification 2 (sometimes 3) times for the server to actually send it to iOS devices, and this is a problem, because it doesn't have problems with Android devices, that then receive the same notification multiple times.
This happens both with Apple's dev and production push notification server and, from the logs, I can't see any difference between when the notification works and when it doesn't. I get no error or anything else.
I'm pretty sure that, when the notification doesn't work and I have to send it again, it doesn't work for all devices, not just for some: it seems the server isn't sending it at all (but I get the response message saying the notification was sent).
I suppose the problem is not related to a malformed notification, since if I try to send the same notification immediately after (just by refreshing the browser's page), it works.
Is it possible that the PushServer periodically drops the connection to Apple's push server and estabilishes it again whith the second notification attempt, or maybe it doesn't correctly handle a connection problem when sending the notification?