To send a push notification through Firebase we use topics, please ensure that you are acquainted with the topics used for your church or business, you can follow these steps:
- Login into your Firebase Console using your church google account.
- Click on the “Cloud Messaging” option in the left-hand menu.
- Click on the “Send your first message” button.
- In the “Message Target” section, select the “Topic” option.
- In the “Topic name” field, enter the name of the topic that you want to send the push notification to.
- In the “Message Text” section, enter the message that you want to send.
- Customize the notification options as desired, including the title, body, and image of the notification.
- Review and ensure that all information is spelt correctly and accurate, then,
- Click on the “Send” button to send the notification to all devices subscribed to the specified topic.
That’s it! With these steps, you can easily send a push notification through Firebase using topics. Topics allow you to send notifications to groups of devices that have subscribed to a specific topic, rather than targeting individual devices. This can be useful for sending notifications to specific groups of users, such as those interested in a particular topic or category. e.g. Daily Announcements, Member Updates.