Is there a way to cancel a notification request hosted on a GCM server?
As with the case, consider requesting a GCM message to the GCM server. If the user sees a message on the network before accessing the Internet on a mobile phone, the GCM request should be rolled back. And the user should not see the notification on the mobile phone.
android push-notification google-cloud-messaging
Raghav
source share