Install @angular/fire in Ionic 7


I am updating an Ionic project from 6 to 7 and I am trying to install @angular/fire on it and there are no modules. So where exactly should we implement all firebase settings? Within a service?

I already tried ng add @angular/fire and got this message:

Specified module path /src/app/app.module.ts does not exist

It installed the packages node_modules, but I am wondering if there is any good practice about this so far. Will post an update if I figure something out meanwhile.

1 Like

I was in the same boat until i dug around into their issues on github. Here’s what i found:

You need to import in the main.ts now.