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

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

qt - Change color of QGraphicsView rubber band -

c++ - Visible files in the "Projects" View of the Qt Creator IDE if using the CMake build system -