Skip to content

Firebase UI is incompatible with Firebase SDK 9 (beta) #837

Open
@johanrd

Description

@johanrd
  • Firebase UI version: 4.8.0
  • Firebase SDK version: 0.900.19

Firebase SDK 9 is now released in beta. When testing with Firebase UI 4.8.0, it becomes clear that Firebase UI is not ready to be used with the modularized import api of Firebase SDK 9.

Steps to reproduce:

  1. Load Firebase UI with Firebase SDK 9:
import { getApp } from 'firebase/app'
import { getAuth }  from 'firebase/auth'
import * as firebaseui from 'firebaseui';

const app = getApp();
const auth = getAuth(app);
uiConfig = ()
new firebaseui.auth.AuthUI(auth).start('#firebaseui-auth-container', uiConfig);
  1. Experience TypeError, since firebase is undefined in firebaseui-web:
    var tempApp = firebase.initializeApp({
TypeError: Cannot read property 'initializeApp' of undefined

@davideast has commented on the issue over at firebase/firebase-js-sdk#4375 (comment) in February:

We don't have a version of Firebase UI available for the new SDK just yet. But hang tight!

I could not see the issue being tracked here, so therefore I'm posting it as a specific reproducible bug to track. (The theme is somewhat already addressed in #257, however there as a more general issue).

Metadata

Metadata

Assignees

Labels

v9-migrationIssues related to updating to v9 modular SDK

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions