angularfire2 Questions

3

Solved

I am successfully authenticating an user with firebase authentication from an angular project which is hosted in google app engine. But when i am trying to display the photourl mapped with the user...
Wormseed asked 12/8, 2017 at 18:56

4

Just started using AngularFire2 v5 seeing the following error about a dozen times when I run the app: Namespace 'firebase' has no exported member 'firestore' in the following .d.ts files: node_mod...
Keloid asked 6/11, 2017 at 10:24

3

Solved

When is use this.afAuth.auth.signInWithCredential everything works great in my Ionic app. I can sign in using Google authentication and the user profile is pushed to firebase. However, I get an err...

6

Solved

This error occurs when our users "Block third-party cookies and site data". To replicate the error, go to: Check your Chrome browser "Block third-party cookies and site data" reference in this ...
Breakaway asked 19/1, 2017 at 7:50

5

I am really struggling to understand how to get the current user id of someone logged in and to filter a list by that user id. I can get the userid easily enough but it doesn't seem to be availabl...

4

I have below query selectedUser$: AngularFirestoreDocument<any>; this.selectedUser$ = this.userCollection.ref.where('uid', '==', key) Throwing error Type 'Query' is not assignable to...
Contrabandist asked 29/8, 2018 at 6:55

8

Okay I just started using angular firebase and I've been scratching my head for two days. Most of the tutorials out there are mostly for older versions of firebase this is the error that I am recei...
Misesteem asked 4/11, 2021 at 19:5

4

Solved

I am trying to test a little Ionic/Angular sample app on an iOS Emulator. On the web, all the requests to firestore using angularfire work perfectly fine. Somehow if I try to execute the same app o...

3

I upgraded AngularFire to 7, and have a problem with using .where with collectionReference. So simply.. how to use it properly? I tried to use 'collection' from '@angular/fire/firestore' like: cons...

2

I'm using the firebase emulator suite including the cloud functions emulator, on an angular/fire project. firebase tools 9.23.1. Typescript version 4.5.4. In package.json the main property is &quot...

6

Solved

In implementing FCM Background Web Notification getting below error in my service error TS2339: Property 'messaging' does not exist on type 'AngularFireMessaging' messaging.service.ts import { I...

10

Solved

Good Morning, I tried adding a new created object from this class: export class Sponsor implements ISponsor { title: string; description?: string; creation: ICreation; constructor(title: s...
Clachan asked 5/10, 2017 at 5:50

8

Currently I am using: this.af.database.list('users').push(user); How can I make the key of the object that is submitted be custom. So I want to be able to set the node of this object to the sam...
Dearborn asked 10/11, 2016 at 9:53

7

Solved

I can't find a way to get serverTimestamp from firestore. Either with firestore itself, or with angularfire. I found a lot of github issues with solutions, which doesn't work. I guess that's becau...
Trunkfish asked 8/5, 2018 at 13:56

2

Solved

I am pretty new with Angular and Firebase\FireStore and I am finding the following difficulties trying to add Firestore connection to my project. I was following the official documentation to add i...

3

Solved

I have a feed which shows users artwork. I want to filter the users posts by the category and time that the user posted it, so that feed will have the latest posts closer to the top of the page. I ...

6

Firebase cloud store provides "get" method to retrieve the entire collection as following - db.collection("users").get().then((querySnapshot) => { querySnapshot.forEach((do...
Confidence asked 29/11, 2017 at 9:15

4

Showing the Firebase error messages (error.message) in the view results in english error descriptions (e.g. for Authentication errors, if user credetials contain errors). How would you display the...

1

Solved

When I run: ng add @angular/fire I get this error: $ ng add @angular/fire Skipping installation: Package already installed UPDATE package.json (1542 bytes) - Installing packages (npm)... ✔ Package...
Vadim asked 4/7, 2021 at 11:22

8

Solved

I'm working on an Angular Firebase Project, where I need to filter my database as well get the key values. Currently I'm using valueChanges() method in my service code (inside getUnreadBooks and ge...

1

I'm trying to access a callable function's error message within an Angular environment using the angular fire package. Please see the following code: Angular (Client-Side) async myCallableFunctio...

3

Solved

I'm trying to build an AuthGuard for Angular 2 routes using Firebase Auth. This is the AuthGuard Service: import { Injectable } from '@angular/core'; import { CanActivate, Router, ActivatedRoute...

1

Solved

I am a beginner at FireBase and I am trying to implement Google login with FireBase using angular. I am getting the above error at auth. I am hereby attaching login.component.ts and dev depencencie...

3

Solved

When I call this.afAuth.auth.signInWithRedirect(provider) .then((credential) => { }) .catch((error) => this.handleError(error)); The redirect works correctly and is handled by firebase r...
Zulazulch asked 30/7, 2018 at 12:5

12

Solved

I'm learning Angular looking for help in fixing the error: I'm following this link : https://github.com/angular/angularfire2/blob/master/docs/install-and-setup.md to create a angular small app with...
Briant asked 19/11, 2017 at 18:8

© 2022 - 2024 — McMap. All rights reserved.