Pretty much the title. I have the app register the device to receive push notifications when it runs, I need to unregister the device when it uninstalls. How to?
Asked
Active
Viewed 92 times
1 Answers
1
I guess you write about uninstall in the meaning of deleting the app from the device?
Unregistering from GCM on the device-side may take several minutes and therefor probably can not be done on uninstall, see answers here.
Your server should just stop sending push notifications. If he tries GCM returns an NotRegistered-error, see the docs here.
If you're using Appcelerator services for notifications then the error comes from their servers.