Closed thanhtutzaw closed 2 years ago
Experiencing the same bug
The canary example app uses Firebase JS SDK v9.8.0 and react-firebaseui v6.0.0. Could you try running it to see if you still see the problem? If so, please provide a live reproduction.
Can You Tell me your issue? So I can Help If you don't use react-firebaseui then you should check version and use react-firebase-auth@canary version with firebase v9.9 .
The canary example app uses Firebase JS SDK v9.8.0 and react-firebaseui v6.0.0. Could you try running it to see if you still see the problem? If so, please provide a live reproduction.
There is some firebase version code problem with react-firebaseui. I solved by changing firebase.auth() to getAuth() In styled(react-firebaseui) part.
Describe the bug Cannot use Firebaseui 6.0 v with Firebase 9.9 v .
Versions
next-firebase-auth
version: .1.0.0-canary.9 Firebase JS SDK: 9.9.0 react-firebaseui": 6.0.0"To Reproduce Steps to reproduce the behavior:
Error Message Uncaught FirebaseError: Firebase: No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp() (app-compat/no-app). at app (index.esm2017.js?ad1f:230:1) at Object.serviceNamespace [as auth] (index.esm2017.js?ad1f:264:1) at FirebaseAuth (FirebaseAuth.js?a1c5:92:27) at renderWithHooks (react-dom.development.js?ac89:16305:1)
Additional context Is there any Solution?