Click here to Skip to main content
14,927,434 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Lately I have started with firebase for android development.
Cloud messaging is an incredible feature of firebase , but Until Now I have only been able to send the messages in FCM using the GUI console.

How do I send messages on the runtime. Eg - when a user clicks a button , then the DATA message must be sent to another User.

What I have tried:

I have tried looking at online resources , but most of them show the FCM feature using the Console.
Gerry Schmitz 4-Nov-20 8:58am
Write a "click" / button handler. Send the message.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900