Reputation: 13
Is signup for "Upstream Google Cloud Messaging and User Notifications Sign-up" at link "https://services.google.com/fb/forms/gcm/" compulsory to get notification from server app to device?
I have created sample app and sending the sample notification from server. i m getting "OK" response along with message_id, i assume that means my message has been accepted by GCm bit the message is not getting delivered to registered Device? I read somewhere with GCM, registration to the link above is required. I tried that too but i didnt get any response back from google. am i missing anything?
Harshil.
Upvotes: 1
Views: 619
Reputation: 15762
As of June 2014, sign-up is no longer required for GCM upstream user notifications (among other features).
There's a post on the Android Developer Blog with more info. Specifically:
At Google I/O we announced the general availability of several GCM capabilities, including the GCM Cloud Connection Server, User Notifications, and a new API called Delivery Receipt. This post highlights the new features and how you can use them in your apps. You can watch these and other GCM announcements at our I/O presentation.
Upvotes: 0
Reputation: 13761
Yes, it is compulsory. When sending a message through GCM
, you need to specify a SENDER_ID
which is given to you when you create a Project
inside, and for this, you have to sign up. So even if you got an OK
response, I doubt you specified a correct SENDER_ID
so this message probably got discarded.
Maybe this might help:
Upvotes: 1