# FirebaseInstanceID Framework Reference

# Constants


Firebase Instance ID is deprecated. Please use Firebase Installations instead.

The following constants are available globally.
- `


  ### [kFIRInstanceIDScopeFirebaseMessaging](https://firebase.google.com/docs/reference/ios/firebaseinstanceid/api/reference/Constants#/c:@kFIRInstanceIDScopeFirebaseMessaging)


  ` The scope to be used when fetching/deleting a token for Firebase Messaging.

  #### Declaration

  Objective-C

      extern NS_SWIFT_NAME(InstanceIDScopeFirebaseMessaging) NSString *const
          kFIRInstanceIDScopeFirebaseMessaging

- `


  ### [kFIRInstanceIDTokenRefreshNotification](https://firebase.google.com/docs/reference/ios/firebaseinstanceid/api/reference/Constants#/c:@kFIRInstanceIDTokenRefreshNotification)


  ` Called when the system determines that tokens need to be refreshed.
  This method is also called if Instance ID has been reset in which
  case, tokens and FCM topic subscriptions also need to be refreshed.

  Instance ID service will throttle the refresh event across all devices
  to control the rate of token updates on application servers.

  #### Declaration

  Objective-C

      extern NS_SWIFT_NAME(InstanceIDTokenRefresh) const NSNotificationName
          kFIRInstanceIDTokenRefreshNotification