We are developing an app that uses real-time chat between users (how to WhatsApp) and we have the doubt to know how to make us notify (and sound) each time a user writes to another. The messages arrive between users, but they do not know they notify, they have to enter the message section and check if they really have a message or not. We have seen that firebase has the cloud messaging, but we are not sure that this will work between users, and if they are only messages that we can program to send every so often to the users (how offers and others). If someone could help us out, it would be appreciated. We use firebase in android. Thanks.