Firebase Cloud Messaging is one of the easiest and reliable ways of sending messages/notifications from the backend to the front-end. So, I would like to share my experience with a cloud messaging service. The best part is, we all know that firebase has been providing a set of great services for free of charge. FCM is one of them. You could use this service for multiple scenarios in multiple ways. I am going to follow the Admin SDK option in our example which is the popular way of doing it. Also, in part — 01 of this topic, I will be focusing on sending the message from the back end, and in part — 02 of this topic I will show you how you can handle the received messages in the front-end. Admin SDK supports almost all the languages and technologies such as Java, ASP.NET Core, Node JS, etc. in this example I will be using the ASP.NET Core to demonstrate the back-end side of it. Feel free to use any languages that you prefer. In order to get started with the FCM admin SDK, you need to cre...
Comments
Post a Comment