Karel Krýda :
I'm creating a chat app and according to the tutorial I should create this: Tutorial example
The problem is that nowadays this function (FirebaseInstanceIdService) no longer exists and therefore I cannot use it. Would anyone advise me with what code to achieve the same result? Thank you
JakeB :
FirebaseInstanceIdService has been depracated and replaced with FirebaseMessagingService
https://firebase.google.com/docs/reference/android/com/google/firebase/iid/FirebaseInstanceIdService
onTokenRefresh
is now onNewToken
.