0

Maybe it is not important but I dont understood that when onTokenRefresh() function running.. Thank you

Edit : I m using FCM Notification on my Android project. My app send message to specific users with "registration token id"(I'm storing this). I worried about that when token id will change or is it literal values?

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Huseyin
  • 567
  • 6
  • 17

1 Answers1

0

From the Firebase documentation:

Because the token could be rotated after initial startup, you are strongly recommended to retrieve the latest updated registration token.

The registration token may change when:

  • The app deletes Instance ID
  • The app is restored on a new device
  • The user uninstalls/reinstall the app
  • The user clears app data.
Community
  • 1
  • 1
Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807