Reputation: 2200
I am been using Parse for sending push notifications earlier and that does not seem to work well. I heard from the internet that we can send push notifications from one android device to another using GCM
and I followed this official documentation. Before I get to implement it, I just need to know whether, we can send push notification from an Android device to another using this service.
I have the following doubts
Upvotes: 4
Views: 4358
Reputation: 997
The answers to all your questions are in the documentation itself.
1) Send Upstream message from Device A to the server and send Downstream message from server to Device B.
2) Instance ID API will provide a token which is the unique identifier.
3) Yes you have to implement you server that will communicate with GCM connection server.
All of which is explained on the overview page itself.
I hope this answers your question. There is also a sample you can refer to.
Also, a tutorial here.
Upvotes: 3