When a user installs my app I register his registration ID (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 app is uninstalled.
How can I accomplish this in Phonegap: get an event after which i can unregister the user registration id (android) or device token (ios)?
Note: I am using PushPlugin