Skip to content

1.1.1 Sending to a Registration ID

Anders Mikkelsen edited this page Dec 15, 2017 · 3 revisions

Sending direct messages are done by sending the registrationID (or device group id) as to, and an object that implements the FcmNotification interface to the send method of FcmServer like this:

fcmServer.send(registrationId, fcmNotification);
Clone this wiki locally