I have a problem with sending Apple Push Notifications.
When I send a message to two devices only, everything is working. But When I send a message to all devices in the Database, then not all Push Message get delivered, but I get no error for any device. Sending was ok!
And one of the devices which gets a message in the first test, didn't get a message, when I post the message to all devices.
The send procedure is working, because I get a message on my phone at the first test and when I send to all devices it works too. Can there be any other problem which cause this problem?? Or is this a Apple bug/problem.
I have no idea what the problem could be. Does anyone have this problem too??
When you were working for 1 device, I guess you were using development profile. And for multiple device, you must be using distribution profile. So just check all your provisioning profiles and registered devices according to provisioning profile. Delete the profile which you are not using and that should solve your problem.
If you are sending same message many time with in a certain time from a same device token, then last message will be send, I think apple remove duplicate records in backend.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With