I am going to build a push notification application.
I am successful to send push notifications to iOS devices.
However, sometimes a device token becomes invalid, and I do not know why. I want to know how to find that a given device token is invalid.