Send a push notification from one Android device to another. Using GCM

I use Parse to send push notifications before and it doesn't seem to work. 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 start implementing it, I just need to know if we can send a push notification from an Android device to another using this service.

I have the following doubts:

  • How to send a push notification to a specific device using another device using GCM?
  • What is the unique identifier I should use if this question is possible?
  • Should I implement my own backend to store the unique identifiers mentioned above? Or is there a way that GCM can handle it for me?
+4
source share
1 answer

The answers to all your questions are given in the documentation itself.

1) Send an Upstream message from device A to the server and send a Downstream message from server to device B.
2) the instance identifier API will provide a token, which is a unique identifier.
3) Yes, you must implement a server that will communicate with the GCM connection server.

All this is explained on the review page itself .

, . , .

, .

+3

All Articles