4

In the last Firebase version, this method is deprecated

FirebaseInstanceId.getInstance().getToken()

Is there any new function that I can use to get token synchronously?

Important: onNewToken() method does not work for me

Mladen Rakonjac
  • 9,562
  • 7
  • 42
  • 55
  • Google just likes to create headache for Android developers... Half of our time is just spent on addressing Google's ad hoc requirements every now and then! – doctorram May 26 '21 at 04:51

0 Answers0