How to handle first Token in Firebase Token Service in Android?
<p>I am making an Android app that uses Firebase Cloud Messaging.</p>

<p>Whenever a new token is generated, the onTokenRefresh() function of a class extending FirebaseInstanceIdService is called. </p>

<p>However I noticed that the first time the token is generated, this function is not called. I want to send the first token to my Server. How can I implement this?</p>