I have an android application with firebase and i want to send a notification to a specific client from another client . "cloud messaging" allows me to send a notification to every client has the application.
Asked
Active
Viewed 1,381 times
1 Answers
2
Firebase Cloud Messaging also allows you to send a notification to a single client, as long as you know the FCM token of that client. For example see the section on sending a message to a token using the Composer in the Firebase console, and sending a message to an individual device using the Admin SDK, and sending a message to an individual device using the HTTP REST API.
But FCM does not allow directly sending notification from once client to another. You will always needs to send the downstream messages from a trusted environment, such as the Composer in the Firebase console, your development machine, a server you control, or Cloud Functions.For more on this, see:

Frank van Puffelen
- 565,676
- 79
- 828
- 807