FirebaseMessaging Framework Reference

Constants

The following constants are available globally.

  • Notification sent when the FCM registration token has been refreshed. Please use theFIRMessaging delegate methodmessaging:didReceiveRegistrationToken: to receive current andupdated tokens.

    Declaration

    Swift

    staticletMessagingRegistrationTokenRefreshed:NSNotification.Name
  • The domain used for all errors in Messaging.

    Declaration

    Swift

    letMessagingErrorDomain:String

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-03-11 UTC.