Firebase UI is incompatible with Firebase SDK 9 (beta)
See original GitHub issue- 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:
- 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);
- Experience TypeError, since
firebase
is undefined in firebaseui-web: https://github.com/firebase/firebaseui-web/blob/1a8f9e523f76df7a6c5da36b63b4d2a5b34b64ef/javascript/widgets/authui.js#L127
TypeError: Cannot read property 'initializeApp' of undefined
@davideast has commented on the issue over at https://github.com/firebase/firebase-js-sdk/discussions/4375#discussioncomment-330765 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).
Issue Analytics
- State:
- Created 2 years ago
- Reactions:18
- Comments:18 (6 by maintainers)
Top Results From Across the Web
Will firebaseui be made compatible with firebase SDK version ...
I recently refactored my code to the new firebase SDK version 9 only to realize later that the new SDK is not compatible...
Read more >Firebase Android SDK Release Notes - Google
The App Distribution Android SDK is now available in beta. You can use this SDK to ... Added a check for incompatible versions...
Read more >Attempted import error: 'auth' is not exported from 'firebase/auth'
firebase /firebase-js-sdkFirebase web 9 Auth incompatible with Capacitor 3#5019 ... Firebase SDK version: 9 beta 2; Firebase Product: auth ...
Read more >Firebase9へ移行してみた。つまづいた点を公開 - Zenn
個人開発しているSushi WorkというWEBサービスをFirebase8から9に移行した時の ... Firebase UI is incompatible with Firebase SDK 9 (beta) · Issue ...
Read more >firebaseui - npm
Javascript library for customizable UI on top of Firebase SDK. Latest version: 6.0.2, last published: a month ago. Start using firebaseui in ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Working on support over at #850 FYI.
Ok. Let’s hope it comes around soon. I would be really good if it comes around a week after Google IO. I’m terrible at CSS styling, and I don’t have a very big team to handle that work for me.