Is FCM token refreshed on app update?

后端 未结 3 1178
梦谈多话
梦谈多话 2020-12-09 10:22

I am using FCM in my android app for push notifications. I have the below class to get the fcm token.

public class MyFirebaseInstanceIdService extends Fireba         


        
3条回答
  •  情书的邮戳
    2020-12-09 10:40

    Install/Clear Data - New Token is generated.

    Update from Play Store - Token remains same.

    If you want to call onTokenRefreshed() you should do it manually.

    Click here to read more about it.

提交回复
热议问题