Sending push notifications via Firebase Cloud Messaging (FCM) is a common practice for mobile app developers. Firebase provides a robust and easy-to-use platform for sending notifications to Android, iOS, and web applications.
Here's a step-by-step tutorial on how to send push notifications using Firebase:
Log in to Firebase console: console.firebase.google.com
Find your app.
In this example, we'll use the MagLof Digital Magazines app. Your app should be listed here.On the left-hand column, open the menu Engage > Messaging
You will see this window, where all your push messages are listed. Choose New Campaign
Choose Notifications
Enter the relevant fields and click Next
Here, you can choose your audience target and app where the message is sent. If you want to send from both Android and iOS apps, choose one of them and click Target another app
With this setting, your push notification will be sent from Android and iOS apps. Click Next once you're happy with your targetting.
You can now set the time for the push notification. You can either send it immediately or schedule it for another date.
If you're done with all the settings, choose Review
Once you're happy with the push notification, click Publish. It will then send it immediately or based on your scheduled time.
That's it! It is that easy to send push notifications via Firebase