How to Save a FCM token in Android?

后端 未结 5 1505
一生所求
一生所求 2020-12-01 19:52

I am following this to register my deivce in Firebase

Here I am trying to display and save the notification token

    public class MyFirebaseInstance         


        
5条回答
  •  失恋的感觉
    2020-12-01 20:20

    Try this just uninstall and reinstall app because token is not generated everytime you play the app. It's generated when you clear sharePref or reinstall.

提交回复
热议问题