views:

340

answers:

4

How to test feedback.sandbox.push.apple.com? Everything goes right, but I receive empty list.

How to make it consider the device token as inactive?

I installed the application to iPhone using Xcode, received some push notifications, then removed it from iPhone and send some more notifications. But even on the next day feedback.sandbox.push.apple.com returns just empty set.

A: 

I also have a similar situation .did u get any feedback?

testing apns
No, I didn't. And APNS feedback is just not implemented in our actual application yet.
Vi
A: 

I far as I found, Apple push notification feedback service doesn't work properly on sandbox mode. You should try it on add-hoc or production mode.

fyasar
Strange. Apple encourages to correctly handle that feedback, but not allows to test it. "Do it just right from the very first attempt or be punished by ban from APNS"?
Vi
I'm not sure as I told as far I found on some blogs, forums and my test cases. But I will try to some suggestions which I have got from apple developer forum. If I found some case i will share with you guys in this post.
fyasar
A: 

Issues with Using the Feedback Service

If you remove your app from your device and then send a push notification to it, you would expect to have the device token rejected, and the invalidated device token should appear on the feedback service. However, if this was the last push-enabled app on the device, it will not show up in the feedback service. This is because deleting the last app tears down the persistent connection to the push service before the notice of the deletion can be sent.

You can work around this by leaving at least one push-enabled app on the device in order to keep the persistent connection up. Just install any free push-enabled app from the App Store and you should then be able to delete your app and see it appear in the feedback service.

source:

Daniel T. Magnusson
Yes, there were also one more application (to test that APNS itself was working).
Vi