angularfire icon indicating copy to clipboard operation
angularfire copied to clipboard

Firebase API called outside injection context when i upgrade angular version 18 to 19

Open ph360 opened this issue 8 months ago • 2 comments

I install Angular 19 and i show me this warnking Firebase API called outside injection context:

Image

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

Image

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

Image

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.

ph360 avatar Apr 19 '25 14:04 ph360

This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Apr 19 '25 14:04 google-oss-bot

see #3607

djamn avatar May 03 '25 17:05 djamn