Firebase API called outside injection context when i upgrade angular version 18 to 19
- 主要語言
- TypeScript
- 星號
- 7.8k
- 分支
- 2.2k
- 平均合併
- 22 小時 28 分鐘
- 30 天內合併 PR
- 6
描述
I install Angular 19 and i show me this warnking **Firebase API called outside injection context:**

When happened this:
I upgrade of Angular 18 a Angular 19 and when i change of version.
**Version:**
Angular CLI: 19.2.8
Node: 22.14.0
Package Manager: npm 11.3.0
OS: win32 x64
Angular: 19.2.7
... common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1902.8
@angular-devkit/build-angular 19.2.8
@angular-devkit/core 19.2.8
@angular-devkit/schematics 19.2.8
@angular/cli 19.2.8
@angular/ssr 19.2.8
@schematics/angular 19.2.8
rxjs 7.8.2
typescript 5.7.3
zone.js 0.15.0

C:\pr360-portal-v1\pr360>ng update
Using package manager: npm
Collecting installed dependencies...
Found 31 dependencies.
We analyzed your package.json and everything seems to be in order. Good work!
NOTE:
I don't snow how fix this thouble. In the documentation not is clear https://github.com/angular/angularfire/blob/main/docs/zones.md

I don't see which is the impact of no fix this warn. but if is very noisy.
Someone people suggestion add a code. but is very repetitive and not is the solution finish.
貢獻指南
研究方向
從連結的 docs/zones.md 和 Angular 18-to-19 upgrade 輸出開始,使用回報的 Angular 19.2.7 和 Angular CLI 19.2.8 版本。重現該警告並找出觸發它的 Firebase 呼叫;done 應包含已確認的影響,以及有文件記錄且不重複的解決方案,或為 maintainers 提供清楚的重現步驟。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- angular, typescript
- 領域
- frontend
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100