Questions tagged [angularfire5]
104 questions
1
vote
1 answer
AngularFire5 — Reference.update failed: First argument contains a function in property
I'm trying to save changes to an existing node in my Firebase DB, but I'm getting this error here:
Reference.update failed: First argument contains a function in property 'matatu-list.-L-RMcqjnladFM5-V80b.payload.node_.children_.comparator_' with…

kenyami
- 59
- 8
1
vote
0 answers
Ionic emulate android 404 with firebase
I'm currently using angularfire along with the ionic framework and it's working great in the browser but when I go to emulate it in android emulate I keep getting 404's to any firebase endpoints. In my config.xml I have
so I…

asiammyself
- 219
- 3
- 12
1
vote
0 answers
Alternative to deprecated exists() function in AngularFire2 (rc5.0)
I just updated to latest version of AngularFire2 rc5.
It looks like exist() does not exist anymore.
Do you know what's the new way to check if the snapshot exists ?

Manuel RODRIGUEZ
- 2,131
- 3
- 25
- 53
1
vote
1 answer
Using ngFor item as key in an Observable list
I'm extremely new to Angular and really excited so far at how powerful it is.
I'm using the angularfire2 library to retrieve two separate lists from firebase (*.ts):
this.list1= this.db.list("list1").valueChanges();
this.list2=…

Robert Brand
- 300
- 2
- 8
1
vote
0 answers
Firestore method snapshotChanges() for collection
Following is the code provided in Collections in AngularFirestore.
export class AppComponent {
private shirtCollection: AngularFirestoreCollection;
shirts: Observable;
constructor(private readonly afs: AngularFirestore) {
…

Tapas Mukherjee
- 2,088
- 1
- 27
- 66
1
vote
1 answer
AngularFire / FireStore - getDownloadURL
What I'm using
AngularFire
FireStore
New AngularFire syntax for Firestore
What I'm trying to do
get the download URL for each returned image
Issue
I'm getting the download URL for the first image and applying it to a global variable.
If four…

MegaTron
- 3,133
- 6
- 28
- 45
0
votes
1 answer
When integrating angular/fire 7.5 with angular 15, get error Need to provide options, when not being deployed to hosting via source
I am porting an app from angular8 with angular/fire 5.4 to angular15 with angular/fire 7.5. I added the following to my AppModule imports section
import { provideFirebaseApp, initializeApp } from '@angular/fire/app';
import { provideFirestore,…

Pascal DeMilly
- 681
- 1
- 6
- 16
0
votes
0 answers
Facebook has detected AngularAuth isn't using a secure connection to transfer information
enter image description here
how can I solve this problem
0
votes
0 answers
Fetching values from other documents using document ID stored in a field in AngularFire5
I have two collections: "vehicles" and "clients". In each vehicle, I'm registering the client via client's document Id. I need to access the client's title using the key I'm storing in the vehicle document and display it in the Material DataTable…

ReturnTable
- 355
- 4
- 12
0
votes
1 answer
Interface logs as undefined though the products gathered from service call display on page
This question is a follow-up to a previous question posted here -- previous question
I'm attempting to place data into a firebase database (Specifically the realtime database) and I've written a service that will get all of my current products,…

Joel Carter
- 151
- 12
0
votes
1 answer
What is the best way to handle disconnect for Ionic 4/Firebase
I am running and developing an Ionic 4 application but I get plenty of console errors if the enable Disconnect on Chrome developer tools. What is the best way to handle this and stop the error generations?
[Edit] - Some errors
zone.js:3243 POST…

Xerri
- 4,916
- 6
- 45
- 54
0
votes
1 answer
How to query for references using angularfire?
plans is a root collection with 2 fields: date and recipe. recipe is a reference to a different root collection called recipes. I'm trying to construct an observable chain which emits recipes referenced by plans for the specified date range.…

pgreen2
- 3,601
- 3
- 32
- 59
0
votes
2 answers
How to fix 'Item' is missing the following properties from type 'Item[]': length, pop, push, concat, and 26 more
Can someone please help to fix this? I'm making CRUD app via firebase and i'm new to ts and firebase. Help me please i'm working on this for days. Thanks
My ts file:
import { Injectable } from '@angular/core';
import { Item } from './item';
import…

Darko
- 75
- 1
- 9
0
votes
1 answer
AngularFire - How to display Firestore key and value in collection query
I'm using a standard AngularFire collection query. However a project requirement has dictated that instead of explicit binding firestore nodes and values directly in the HTML (as seen in the first HTML snippet below), that we instead bind the…

Que
- 957
- 2
- 14
- 35
0
votes
1 answer
AngularFire2 v5 Angular Authentication
I am having a few problems with an Angular project im working on.
I decided to use Angular7 with Firebase (AngularFire v5)
In my AuthService
export class AuthService {
private authState: Observable;
public currentUser:…

Jphgardner
- 1
- 1