Answer the question
In order to leave comments, you need to log in
How to get an FCM token unambiguously? In what cases is it not available? In what cases is it reissued?
I don't know if I should ask all three questions in 1 "topic", but I'll try.
1) How to get an FCM token unambiguously?
In the current application, obtaining an FCM token is a prerequisite for its operation, so at the very beginning I try to get it using the command (this, by the way, is also a minus of this solution, is there a replacement for FCM if it is missing?)
String fcmToken = FirebaseInstanceId.getInstance().getToken();
@Override
public void onTokenRefresh() {}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question