Attempt to invoke virtual method com.google.firebase.iid.FirebaseInstanceId.getInstanceId()' on a null object reference
652 views
Skip to first unread message
Kartikay Singh
unread,
Dec 11, 2018, 9:59:12 AM12/11/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Firebase Google Group
Hi all,
I am trying to upgrade firebase-messaging library to the latest version available 17.3.4(earlier version in my project is 11.0.4). But after upgrading to the latest version replacing onRefreshToken() with onNewToken(string). I am not receiving any callback in the onNewToken() method. also i tried fetching the access token on the app launch but it throws the error (as mentioned in the subject)