Detecting a delete event in the phonegap application

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

+4
source share
1 answer

AFAIK, you cannot know when your application will be uninstalled.

android GCM . NotRegistered, .

iOS: Question SO

+4

All Articles