Skip to content

Firebase common ver 22 is incompatible with Courier #26

@lance0428

Description

@lance0428

We were attempting to upgrade our Firebase version in our app today from 33.15.0 to 34.1.0. This new bom uses com.google.firebase:firebase-common:22 that includes changes for Google's initiative to move a lot of the ktx helpers into the main packages (more). It seems they have removed com.google.firebase.ktx.Firebase and they want you to use com.google.firebase.Firebase directly.

We are getting NoClassDefFoundError errors that are crashing our app.

15:15:45.389  E  FATAL EXCEPTION: main (Ask Gemini)
                 Process: co.betterup.betterup.debug, PID: 23898
                 java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/ktx/Firebase;
                 	at com.courier.android.modules.PushModuleKt$getFcmToken$2.invokeSuspend(PushModule.kt:42)
                 	at com.courier.android.modules.PushModuleKt$getFcmToken$2.invoke(Unknown Source:8)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions