Skip to content Skip to sidebar Skip to footer

BroadcastReceiver Is Never Called Using GCM Service

I'm trying to implement the new service of GCM for push notifications. I've seen some similiar posts about that issue and most of them are pointing to the Manifest that missing som

Solution 1:

gcm.send is for sending GCM messages from your application to your server (via GCM Cloud Connection Server). Your manifest looks fine, but in order for gcm.send to do anything, you must have a server connected to GCM Cloud Connection Server. And since you are trying to send a message to the server, you won't see anything in your device (even if the message was sent successfully to your server) and BroadcastReceiver won't be called (unless your server sends a message back to the device).


Post a Comment for "BroadcastReceiver Is Never Called Using GCM Service"