728x90
728x170

Firebase 를 사용하기 위해 FirebasePushNotificationPlugin Nuget을 설치했는데 아래 와 같은 에러가 발생되었습니다.

 

Java.Lang.IllegalStateException: 'Default FirebaseApp is not initialized  

in this process com.companyname.firebasetest.  

Make sure to call FirebaseApp.initializeApp(Context) first.'

 

해결은.. 솔루션 정리하고 다시 빌드 하면 된다.;;

 

(내가 겪은 자마린의 에러는 거의 반정도가 정리하고 다시 빌드하면 해결이되는데 왜그런걸까;;;)

 

참고

docs.microsoft.com/en-us/xamarin/android/data-cloud/google-messaging/remote-notifications-with-fcm?tabs=macos#firebaseapp-is-not-initialized

github.com/CrossGeeks/FirebasePushNotificationPlugin/issues/338

728x90
그리드형
Posted by kjun
,