angular / angular/angularfire

Firebase API called outside injection context

Open
#3,605 4 comments 12 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7.8k
Forks
2.2k
Avg merge
22h 28m
Merged PRs (30d)
6

Description

Getting this console warning everywhere in my app thats using firebase, even within injection contexts

here are my deps

```
"@angular/animations": "~19.0.0",
"@angular/cdk": "~19.0.2",
"@angular/common": "~19.0.0",
"@angular/compiler": "~19.0.0",
"@angular/core": "~19.0.0",
"@angular/fire": "19.0.0-rc.4",
"@angular/forms": "~19.0.0",
"@angular/material": "~19.0.2",
"@angular/platform-browser": "~19.0.0",
"@angular/platform-browser-dynamic": "~19.0.0",
"@angular/platform-server": "~19.0.0",
"@angular/router": "~19.0.0",
"@angular/ssr": "~19.0.0",
"@nestjs/axios": "^3.1.3",
"@nestjs/common": "^10.0.2",
"@nestjs/core": "^10.0.2",
"@nestjs/platform-express": "^10.0.2",
"@nestjs/swagger": "^8.1.0",
"@ngrx/operators": "^19.0.0",
"@ngrx/signals": "^19.0.0-rc.0",
"app-root-path": "^3.1.0",
"axios": "^1.7.9",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"copy-webpack-plugin": "^12.0.2",
"depcheck": "^1.4.7",
"express": "~4.18.2",
"firebase": "^11.0.2",
"firebase-admin": "^13.0.1",
"firebase-functions": "^6.2.0",
"firebaseui": "^6.1.0",
"firebaseui-angular": "^6.3.0",
"fs-extra": "^11.2.0",
"nanoid": "^3.3.4",
"ngx-device-detector": "^9.0.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.0",
"source-map-support": "^0.5.21",
"spotify-uri": "^4.1.0",
"stripe": "^17.4.0",
"zone.js": "~0.15.0"
```

Contributor guide

Open the contributing guide

Research direction

The report names no source file, entry point, or test; start by reproducing the console warning with Angular 19, @angular/fire 19.0.0-rc.4, and Firebase 11.0.2. Trace which AngularFire API emits it and compare behavior inside and outside injection contexts; done means the reported warning is correctly eliminated or its required usage is clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, firebase, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.