You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java.Lang.IllegalStateException: 'Default FirebaseApp is not initialized in this process com.tendrils. Make sure to call FirebaseApp.initializeApp(Context) first.'
Observe the following runtime error: Java.Lang.IllegalStateException: 'Default FirebaseApp is not initialized in this process com.tendrils. Make sure to call FirebaseApp.initializeApp(Context) first.'
Did you find any workaround?
No response
Relevant log output
10:57:49:289 [mono-rt] at com.google.firebase.FirebaseApp.getInstance(FirebaseApp.java:179)
10:57:49:289 [mono-rt] at com.google.firebase.messaging.FirebaseMessaging.getInstance(FirebaseMessaging.java:120)
10:57:49:289 [mono-rt] at crc6487f8e260309c87d5.MainActivity.n_onCreate(Native Method)
10:57:49:289 [mono-rt] at crc6487f8e260309c87d5.MainActivity.onCreate(MainActivity.java:44)
10:57:49:289 [mono-rt] at android.app.Activity.performCreate(Activity.java:8595)
10:57:49:289 [mono-rt] at android.app.Activity.performCreate(Activity.java:8573)
10:57:49:289 [mono-rt] at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456)
10:57:49:347 [mono-rt] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3764)
10:57:49:347 [mono-rt] at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3922)
10:57:49:347 [mono-rt] at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
10:57:49:347 [mono-rt] at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139)
10:57:49:347 [mono-rt] at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96)
10:57:49:347 [mono-rt] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443)
10:57:49:347 [mono-rt] at android.os.Handler.dispatchMessage(Handler.java:106)
10:57:49:347 [mono-rt] at android.os.Looper.loopOnce(Looper.java:205)
10:57:49:347 [mono-rt] at android.os.Looper.loop(Looper.java:294)
10:57:49:347 [mono-rt] at android.app.ActivityThread.main(ActivityThread.java:8177)
10:57:49:347 [mono-rt] at java.lang.reflect.Method.invoke(Native Method)
10:57:49:349 [mono-rt] at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
10:57:49:349 [mono-rt] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
10:57:49:349 [mono-rt]
The text was updated successfully, but these errors were encountered:
Android framework version
net8.0-android
Affected platform version
VS 2022 17.12.3, .NET 8
Description
I keep getting this error in my .NET MAUI Android app while using Xamarin.Firebase.Messaging package, which is referenced in https://learn.microsoft.com/en-us/dotnet/maui/data-cloud/push-notifications?view=net-maui-9.0 :
Java.Lang.IllegalStateException: 'Default FirebaseApp is not initialized in this process com.tendrils. Make sure to call FirebaseApp.initializeApp(Context) first.'
Project file:
Steps to Reproduce
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: