import com.google.firebase.iid.FirebaseInstanceId; ^ symbol: class FirebaseInstanceId location: package com.google.firebase.iid
The code is in my RNPushNotifications.java file and I have tried changing multiple versions of firebase core and messaging, but nothing seems to help.
PS: also tried solutions given in Cannot resolve symbol "FirebaseInstanceId"