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

    Swift

    letInstanceIDScopeFirebaseMessaging:String
  • 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

    Swift

    staticletInstanceIDTokenRefresh:NSNotification.Name

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 2021-02-11 UTC.