java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.

GitHub | kcfgl | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Device not getting registered with Azure on Android

    GitHub | 5 months ago | kcfgl
    java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.
  2. 0

    gradle build greyed out shows cross symbol

    Stack Overflow | 3 months ago | san g
    java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      FirebaseApp with name [DEFAULT] doesn't exist.

      at com.google.firebase.FirebaseApp.getInstance()
    2. com.google.firebase
      FirebaseInstanceId.getInstance
      1. com.google.firebase.FirebaseApp.getInstance(Unknown Source)
      2. com.google.firebase.FirebaseApp.getInstance(Unknown Source)
      3. com.google.firebase.iid.FirebaseInstanceId.getInstance(Unknown Source)
      3 frames
    3. com.azure.reactnative
      ReactNativeRegistrationIntentService.onHandleIntent
      1. com.azure.reactnative.notificationhub.ReactNativeRegistrationIntentService.onHandleIntent(ReactNativeRegistrationIntentService.java:37)
      1 frame
    4. Android Platform
      HandlerThread.run
      1. android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
      2. android.os.Handler.dispatchMessage(Handler.java:111)
      3. android.os.Looper.loop(Looper.java:207)
      4. android.os.HandlerThread.run(HandlerThread.java:61)
      4 frames