FirebaseInstanceID Framework Reference

Constants

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

The following constants are available globally.

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

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(InstanceIDScopeFirebaseMessaging) NSString *const
        kFIRInstanceIDScopeFirebaseMessaging
  • 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