android - Detect uninstall event in phonegap app -


when user installs app register registration id (android) or device token (ios) , send push notifications work fine. want remove user server when app uninstalled.

how can accomplish in phonegap: event after can unregister user registration id (android) or device token (ios)?

note: using pushplugin

afaik, cannot know when app uninstalled.

for android app, observe response gcm returns when send notification. if sends notregistered message, can remove id server. read how unregistration works

for ios : read question , answer on so


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -