For example, in a chat messaging app how can I send a notification to the other user in the chat that the user replied?
Will I need to set up another server or can all this get done within firebase?
For example, in a chat messaging app how can I send a notification to the other user in the chat that the user replied?
Will I need to set up another server or can all this get done within firebase?
You can use FCM (Firebase Cloud Messaging). Check there for the complete information.
From the onMessageReceived method of FirebaseMessagingService you can Broadcast that message or notification with the help of the LocalBroadcastManager and can handle that broadcast in your ChatActivity and append the user reply in your chatlistview or you can generate a notification with the help of the Notification builder.
Here is a good tutorial from where you can learn this functionality easily.. (Tutorial is not related to FCM).