push notification - Appcelerator Titanium run code on uninstall (android) -


pretty title. have app register device receive push notifications when runs, need unregister device when uninstalls. how to?

i guess write uninstall in meaning of deleting app device?

unregistering gcm on device-side may take several minutes , therefor can not done on uninstall, see answers here.

your server should stop sending push notifications. if tries gcm returns notregistered-error, see docs here.

if you're using appcelerator services notifications error comes servers.


Comments