Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Cloud Messaging - Target to single device not visible in Firebase console

Tags:

I am trying to send notification to a single device in android , but when i am doing it from Firebase console , it's not visible in Firebase new view .

Could anyone help me from where do i need to send notification to a single device ?

enter image description here

like image 745
Adi Avatar asked Nov 04 '18 08:11

Adi


People also ask

How do I send FCM to one device?

For sending FCM notification payload you can use Firebase Cloud Messaging Tool in firebase console. And click on Send your first message. Then enter the Title and body field. If you wish to send it to a particular device then click on Send test message and enter the FCM registration token.


1 Answers

Try These Steps Carefully:

  1. Tap New Notification

  2. Fill up Notification title(Optional), Notification Text, Notification label(Optional) and etc

  3. Tap Send Test Message under 1. Notificationtest

  4. Add Firebase Instance ID of Your Device. To get Instance Token, check this doc

  5. Tap Test and Voila![enter image description here]

  6. You should receive your test message within a couple of seconds

like image 57
touhid udoy Avatar answered Oct 02 '22 07:10

touhid udoy