When a user installs my application, I register his registration identifier (Android) or device token (iOS) and send push notifications that work fine. But now I want to remove the user from the server when the application is deleted.
How to do it in Phonegap: get an event after which I can cancel the user registration identifier (Android) or device token (ios)?
Note. I am using pushplugin
source
share