Answer the question
In order to leave comments, you need to log in
How to solve the problem about firebase tokens?
Hello, I had some error: on some versions of api, mostly old ones, the application crashes, complains about this line, where I connect to the firebase database to save information on the user's registration token:
databaseReference = FirebaseDatabase.getInstance().getReference(FirebaseInstanceId.getInstance().getToken());
Argument 'FirebaseInstanceId.getInstance().getToken()' might be null
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