PushNotificationPlugin icon indicating copy to clipboard operation
PushNotificationPlugin copied to clipboard

Make sure to call FirebaseApp.initializeApp(Context) first

Open Karmey opened this issue 5 years ago • 1 comments

Hello! In our project, we updated the plugin version from 2.3.6 to 3.1.6. An error occurs when starting Java.Lang.IllegalStateException    Message = Default FirebaseApp is not initialized in this process com.companyname.OmacPro. Make sure to call FirebaseApp.initializeApp (Context) first. Calling FirebaseApp.initializeApp (this) did not solve the problem Screenshot_1

Karmey avatar Mar 19 '20 16:03 Karmey

@Karmey I was having the same issue. Look like on CrossGeeks other package, someone figure out how to fix it : https://github.com/CrossGeeks/FirebasePushNotificationPlugin/issues/284 He said that you have to add Xamarin.Firebase.Common package directly to Android project

matthieume avatar Apr 15 '20 14:04 matthieume