Skip to content

"TypeError: app.auth is not a function" when using PhoneAuthProvider #961

Closed
@manubamba

Description

@manubamba

Copied from #901
My project is React and when I run this code, I get this error TypeError: app.auth is not a function.
This only happens when I use PhoneAuthProvider.PROVIDER_ID, when I insert GoogleAuthProvider.PROVIDER_ID everything works fine.

firebase no longer exposes compat functions. This becomes a major blocker to use firebaseui-web.

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