Skip to content

Cloud Messaging

Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that enables you to send notifications and data messages to client applications. It is commonly used for push notifications, server-driven events, live updates, and re-engagement messaging.

The Cloud Messaging module in this plugin provides access to FCM tokens, topic subscriptions, and message listeners, allowing Unreal Engine applications to receive and react to messages sent from Firebase or your backend services.


Capabilities

  • Retrieve the current Firebase Cloud Messaging registration token.
  • Listen for automatic token refresh events.
  • Delete the current FCM token when needed.
  • Subscribe and unsubscribe users from messaging topics.
  • Enable or disable automatic Cloud Messaging initialization.
  • Receive incoming notification and data messages while the application is running.

Important Notes

  • FCM message delivery behavior depends on application state and platform restrictions; notification messages may be handled differently when the app is in the background or terminated.
  • Token regeneration can occur at any time, so applications should listen for token update events if the token is stored or sent to a backend.