Skip to main content

Testing FCM Push Notification service

Overview

To test Firebase Cloud Messaging (FCM) push notifications in GATE, you'll need two essential components:

  • Firebase API Key (obtainable from the FCM console)
  • Device registration IDs where notifications will be sent

This guide walks you through the complete testing process within GATE's interface.

Prerequisites

Before beginning, ensure you have:

  • Valid Firebase API key from your FCM console
  • Target device registration IDs for testing
  • Administrative access to GATE's Settings menu

Step-by-Step Testing Process

Step 1: Access Push Notification Service

  1. Navigate to the Settings main menu
  2. Select the Services sub-menu

service-submenu.png

service-submenu.png

service-submenu.png

service-submenu.png

  1. Search for push in the services list
  2. Click on Push notification

push-notification.png

push-notification.png

push-notification.png

push-notification.png

Step 2: Configure API Key

  1. On the Push Notification Service screen, enter your Firebase API key
  2. Click the Save and continue editing button to save your configuration

api-key.png

api-key.png

api-key.png

api-key.png

Step 3: Access Service Test Interface

Click on the Service test tab at the top of the Push Notification Service screen to access the testing interface.

Screenshot-from-2020-04-03-15-02-17.png

Screenshot-from-2020-04-03-15-02-17.png

Screenshot-from-2020-04-03-15-02-17.png

Screenshot-from-2020-04-03-15-02-17.png

Step 4: Configure Test Notification

Fill in the following required fields:

  • Title: The notification headline
  • Body: The main notification message
  • Click action: Action to perform when notification is tapped
  • Registration IDs: Target device registration IDs

Once all fields are completed, click the Proceed button to send the test notification.

Screenshot-from-2020-04-03-14-58-15.png

Screenshot-from-2020-04-03-14-58-15.png

Screenshot-from-2020-04-03-14-58-15.png

Screenshot-from-2020-04-03-14-58-15.png

Step 5: Verify Results

If everything went ok and the test is successful:

  • Results will be shown on the lower right corner of the interface
  • The notification should be delivered to the specified device(s)

success.png

success.png

success.png

success.png

Troubleshooting

If notifications fail to deliver, verify:

  • API key is correctly entered and valid
  • Registration IDs are current and properly formatted
  • Device connectivity and FCM service availability