Delete iOS notification after a new reinstall

I have an application that successfully integrated Apple Push notifications when a user registers in application application registers with a push notification, and the token is stored on our internal server, when the user exits the application, we remove the push notification tokens from our back-end. but if the user removes the application from the device WITHOUT VALUE-FROM the application and then reinstalls, in this case we can still send push notifications to the device, since the application was recently installed and was not registered to any of the users, we must delete the tokens from the backend. since the iOS application does not have any API for delete events, how can I remove a device token from an external server.I can use the push notification feedback service to receive uninstalled device tokens, but how can I solve the problem when the user uninstalls the application and then reinstalls it.

I tested this script with skype, it also has this problem. (set Skype> Login> (now you can send the application to the background and send some chats from any other device, you will receive push notifications)> then delete the application from the device without leaving Skype> Re-Install Skype> now if we send skype chat, we get push notifications, but the skype application has recently been installed and no one has logged in)

+4
source share
3 answers

, , , - / , . , / , , . , , .

, , Twitter, Facebook, Skype ..

0

, , . ( , ) 401. , , .

enter image description here

0

! , , , - . , , , .

Workaround: If your application is reinstalled, you can call the API to register as the user is not registered.

-one
source

All Articles