I have an iPhone app sending notifications and everything is working fine… Except sometimes 🙂
Let me explain : I’m using a pretty simple PHP script to send the notifications (using the stream_context_create method) but some users told me they do not receive some notifications. Apparently, I may encounter some cases where I need to send up to 50,000 notifications within a minute and I think this might be the problem. I’m using one single stream to send all the notifications.
Did any of you guys encountered such an issue? Do I need to split in several streams? Is there any info about the max number of notifications I may send in a stream?
Thanks 🙂
Edit 1
“Speed” is not the issue here : I am able to push all my notifications to Apple within a minute (I may have some issues in the future if my number of users growns but it’s OK ATM). The problem I see here is that Apple may consider me a spammer or something and does not deliver all my 50,000 notifications :/ Do you guys have any idea how I can get sure about that?
I asked an Apple developer representative about this and was told there were no rate limits and that the system had never dropped a notification.
(This was 12 months ago, when Push was still relatively new, so they may have changed policies since then)