codelab-friendlychat-android icon indicating copy to clipboard operation
codelab-friendlychat-android copied to clipboard

FirebaseInstanceIdService is deprecated

Open thatfiredev opened this issue 6 years ago • 2 comments

The FirebaseInstanceIdService class has been deprecated in version 17.1.0. Consequently, the MyFirebaseInstanceIdService class in step 10 is no longer necessary and should be removed. The code in onTokenRefresh() should be moved to onNewToken() from the MyFirebaseMessagingService class.

thatfiredev avatar Jul 12 '18 00:07 thatfiredev

@rosariopfernandes you're right, we will get this fixed.

samtstern avatar Jul 12 '18 16:07 samtstern

Could you provide the full MyFirebaseMessagingService class?

The methon onNewToken() is never used when I put it in MyFirebaseMessagingService class

luciano-buono avatar Apr 25 '19 03:04 luciano-buono