Skip to content

Incompetible with SDK v9 #1145

@seyeong

Description

@seyeong

SDK migration guide: https://firebase.google.com/docs/web/modular-upgrade

The way that modules are accessible have been changed in v9. For example, firebase.auth() does not exist anymore and you need to use getAuth(firebase) to access the auth object. Due to this change, the init action fails to complete successfully.

Currently auth can be worked around by manually binding auth() to the firebase instance as following:

(firebase as unknown as any).auth = () => getAuth(firebase);

and disabling the following option:

config = {
   enableRedirectHandling: false
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions