-
Notifications
You must be signed in to change notification settings - Fork 2.2k
AngularFire is not compatible with Firebase JS SDK v8 #2619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Give |
Releasing |
@jamesdaniels Sorry for the absence. I tested Here's my analysis. In export = firebase; So, to be able to use But in https://unpkg.com/browse/@angular/[email protected]/storage/observable/fromTask.d.ts The
Please take a look. I'm not sure why the generated |
Yeah. It works now, thanks! |
@dusanradojcic00 how'd you get it working??. I'm using angularfire v6.1.2 and i'm still getting those errors |
@wizjamin remove angularfire2, that's what worked for me. Check all dependencies and imports inside NgModule. |
|
I still can't get firebase version: 8.2.0 |
@Reprevise same here! =( |
same issue. |
@Reprevise @eduardovpessoa @shadowboxingskills You need to know now from version 8 you can import just the services you use: // This import loads the firebase namespace along with all its type information.
import firebase from 'firebase/app';
// These imports load individual services into the firebase namespace.
import 'firebase/auth';
import 'firebase/database'; You can read more about here |
You have to use the full form |
I have :
I can use |
Ah yeah, they just changed the API in v8 firebase.User is the same thing auth.User used to be. |
For those - like me - who arrive here from Google: the docs have a pretty concise summary (https://github.com/angular/angularfire/blob/master/docs/auth/getting-started.md) |
|
Version info
Angular: v10.2.0
Firebase: v8.0.0
AngularFire: v6.0.3
Other (e.g. Ionic/Cordova, Node, browser, operating system):
Debug output
Expected behavior
There should be no errors.
The text was updated successfully, but these errors were encountered: