Hello,
My project ID got whitelisted recently. And I have implemented the server side code for CCS using Java and Smack library.
I am able to send message from my server to the device by using the Registration id of a device and have also received ACK from GCM server.
But the problem is while sending the message from Device to server. Thought the server has logged in to GCM, I don't think the message sent from device is reaching the server. I have used the same project id in both my client and server side code.
The client side code does not throw any error or receive any ACK or NACK from GCM server. It just sends the message and thats it, it is never reaching my CCS server code.
My client side code using gcm.send(GCM_SENDER_ID + "@
gcm.googleapis.com", id, GCM_TIME_TO_LIVE, data); to send message to the server.
Did anyone face similar issue? Please provide your suggestions on resolving the issue.
Thanks,
Kishore