Skip to content

Notifying the client with a data and notification payload using firebase function (one to one notification)

Notifications You must be signed in to change notification settings

ibrahimbroachwala/FCM-chat-message-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Firebase-Message-Notifications

Notifying the client with a data and notification payload using firebase function (one to one notification)

How to:

  • Put the code in function.js in your own firebase 'function.js' file.
  • Put the code in the 'send_notification_android.java' inside the onClickListener of the send message button in your chat interface.

Note: Make sure to make required variable name changes subjective to your application. Read comments inside the code for better understanding

About

Notifying the client with a data and notification payload using firebase function (one to one notification)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published