FirebasePushNotificationManager.Initialize stopped working after adding the package Xamarin.Auth

917 Views Asked by At

I implemented the push notification feature using the package Plugin.FirebasePushNotification and it is working fine. I'm able to receive the notifications. But it stopped working after adding the package Xamarin.Auth. I'm getting the exception 'Attempt to invoke virtual method 'void com.google.firebase.iid.FirebaseInstanceId.zzb(boolean) on a null object reference' at the plugin initialization point.

FirebasePushNotificationManager.Initialize(this,false);// crashes here

I also tried other solutions mentioned here. But nothing is working in my case. Can someone help me to figure out the issue?

0

There are 0 best solutions below