title: Detect uninstall event in phonegap app
body: <p>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.</p>
  
  <p>How can I accomplish this in Phonegap: get an event after which i can unregister the user registration id (android) or device token (ios)?</p>
  
  <p>Note: I am using <a href="https://github.com/phonegap-build/PushPlugin" rel="noreferrer">PushPlugin</a></p>