-1

I have a problema with this service. enter image description here

This is my app.module. enter image description here

The injection in InicioPage: enter image description here

I tried , add in providers in iniciopage.module, but not work

  • Please do not post images of code or errors. Text is preferred so that we can try to reproduce the problem without having to re-type everything and your question can be properly indexed or read by screen readers. – Ben A. Aug 28 '23 at 00:58

1 Answers1

1

I had a similar problem and solved it by adding these two lines in app.module.ts

import { FIREBASE_OPTIONS } from "@angular/fire/compat";
@NgModule({
  ...
  providers: [
    { provide: FIREBASE_OPTIONS, useValue: environment.firebase}
  ]
})
Eloi
  • 36
  • 4