As you probably noticed, I familiarize myself with the subject of Firebase Cloud Messaging push notifications recently.
This time I would like to share with you my push notifications server-side application. The app is made with Spring Boot framework.
Provided example covers most common notifications sending use cases such as: sending push notification to a topic, directly to the users’ device or sending messages with additional data payload.
This post is not a step-by-step tutorial. I’ll focus on the most important parts. Fully working example is available on GitHub.
If you don’t have a client-side application to receive push notifications yet, you should consider the use of Ionic app I described earlier. Have fun!