Send push notifications from Spring Boot server-side application using FCM

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 the Spring Boot framework.

The 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. A 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 the Ionic app I described earlier. Have fun!

Continue reading Send push notifications from Spring Boot server-side application using FCM

Send your test FCM push notification with cURL

Authorization needed to send push notifications with FCM is cool and not so complicated to integrate on your server app. Take a look at documentation here.

Quicker way

Server app? Great, but sometimes you have to quickly test your FCM push notifications and not necessarily you want create a whole back-end infrastructure just to send some notifications out.

Continue reading Send your test FCM push notification with cURL