immobiliare / ApnsPHP

ApnsPHP: Apple Push Notification & Feedback Provider
BSD 3-Clause "New" or "Revised" License
1.43k stars 449 forks source link

First Push sent twice #42

Closed galli-leo closed 10 years ago

galli-leo commented 10 years ago

Hello, When I send push notifications the first one is sent twice. But only if there are no other messages from the app in the notification center. If there are it works fine.

Need fixing soon.

Btw. iOS 7.0.4 and Production

ghost commented 10 years ago

Are you sure that it's a ApnsPHP trouble? Any code examples?

galli-leo commented 10 years ago

Nah. May be because of duplicate token in database fixed it

ghost commented 10 years ago

Sometimes a get two pushes two, but when i check logs -- ApnsPHP sent only one of them. I don't know, may be it a bug in ApnsPHP, may on apple side.

I can't reproduce it :(