Open utterances-bot opened 2 years ago
Hi Jeff, I have heard you talking about securing the web app using App Check. But I haven’t found a way to implementing this using AngularFire. Please can you provide an example or do a 100 second video 😅.
I will thank you a lot
As of version @angular/fire 7 onwards, they are importing the modules in this way
imports: [
BrowserModule,
provideFirebaseApp(() => initializeApp(environment.firebaseConfig)),
provideFirestore(() => getFirestore()),
provideStorage(() => getStorage()),
provideAuth(() => getAuth()),
],
Though, you can still import modules like the example shown above, provided that you are importing the "compatibility" libraries like
import { AngularFireModule } from '@angular/fire/compat';
import { AngularFirestoreModule } from '@angular/fire/compat/firestore';
import { AngularFireStorageModule } from '@angular/fire/compat/storage';
import { AngularFireAuthModule } from '@angular/fire/compat/auth';
https://fireship.io/snippets/install-angularfire/
This is linked off https://fireship.io/courses/angular/app-firebase-setup/ but 404s.
Maybe remove the link?
Install @angular/fire
How to install @angular/fire, aka AngularFire2
https://fireship.io/snippets/install-angularfire/