3,131 questions
0
votes
0
answers
41
views
WebChannelConnection RPC 'Listen' stream 0x17d185b2 transport errored #3631
i am trying to deploy my app from android studio to my phone and see the below error stream indicating internet issue. but that is definitely not correct. as the same code with same connection is ...
0
votes
0
answers
188
views
RuntimeError: NG0203: The `EnvironmentInjector` token injection failed. Migrating Angular 18 -> 19
I updated Angular from 18 to 19 with ng update @angular/core@19 @angular/cli@19, and manually updated "@angular/core": "^18.0.5" to "@angular/fire": "19.0.0".
@...
0
votes
0
answers
49
views
Firestore: Unsupported field value: a custom Timestamp object after updating firebase version
I updated to firebase v11.3.1 from v8.2.5 and I am using the compat mode.
However my updates no longer work due to using FieldValue.serverTimestamp() for a date field.
Any suggestions on how to ...
2
votes
1
answer
51
views
Firestore with AngularFire Pagination with startAfter : Hn is not a function or its return value is not iterable
I am working on an Angular application using the following versions:
@angular/fire: 7.5.0
@angular/core: 15.2.0
firebase: 9.17.1
Node.js: v20.11.1
I am implementing pagination for a Firestore query ...
1
vote
1
answer
43
views
NullInjectError in HomeComponent
I'm getting this error when starting the HomeComponent. The configuration is specified inside the environment file and is correct. Could I be injecting something incorrectly? Do I need to inject ...
0
votes
0
answers
87
views
CORS Issue Causing RestConnection Failed Error in AngularFire App
I'm developing an Angular application using AngularFire to interact with Firebase Firestore. When attempting to perform a specific query on Firestore, I'm encountering CORS errors and connection ...
2
votes
1
answer
73
views
AngularFire: get the isNewUser flag;
I need to get hold of the 'additionalUserInfo.isNewUser'.
import { User, getAdditionalUserInfo, getAuth, user, UserCredential } from '@angular/fire/auth';
afAuth = getAuth();
user$: Observable&...
0
votes
0
answers
19
views
Template not reacting to AngularFire Signout
Trying to follow a slightly outdated linkedin learning path for working with firebase. I have implemented a register page which navigates the user to a profile page and is meant to drive the ...
1
vote
1
answer
100
views
Angularfire: how to Initialize the config dynamically?
app.config.ts file:
import { provideFirebaseApp, initializeApp } from '@angular/fire/app';
import { getAnalytics, provideAnalytics } from '@angular/fire/analytics';
export const appConfig: ...
0
votes
0
answers
67
views
Angularfire analatyics got initialized but I don't see my logged events in Firebase console
I'm new to Firebase Analytics... But I could successfully install (npm install firebase @angular/fire) AngularFire in my app.
app.config.ts file:
import { provideFirebaseApp, initializeApp } from '@...
2
votes
1
answer
73
views
Returning a signal in Angular Fire Functions
I'm trying to integrate Angular 18 with Firebase Cloud Functions to read a MongoDB database. I'm using signals because I understand this is the latest way to do this, but I get a type error.
This is ...
3
votes
1
answer
115
views
Firebase docData stream emits identical object values multiple times in a row
This is my code:
import { doc, docData } from '@angular/fire/firestore';
const gameDocRef = doc(this.firestore, 'game', game.id);
const game$ = docData(gameDocRef, { idField: 'id' })
Somehow the ...
0
votes
1
answer
137
views
Mocking AngularFireAuth for angular service unit testing
I created a service to handle all of my authentication calls to angularFireAuth, but the basic toBeTruthy assertion is hitting an injector error for angularFireAuth. I solved this for several other ...
0
votes
0
answers
36
views
How can I query a few levels deep in AngularFIre?
I am trying to get some data from a database where I want only objects that contains a certain key/value pair to be returned.
I am using RTDB with Angular Fire.
Lets say this is the data
{
"times&...
0
votes
0
answers
54
views
Angular firebase sign in anonymously not working
I have an Angular 17.3.6 with the package @angular/fire version 17.0.1 installed. When i try to sign in anonymously with Firebase, I get the following error:
SignIn Error: FirebaseError: Firebase: ...