mikkopaderes / ember-firebase-service

Exposes a service that's a direct representation of Firebase
MIT License
4 stars 2 forks source link

When am I supposed to initialize the app? #55

Closed yandiro closed 2 years ago

yandiro commented 2 years ago

I am injecting the firebase service in my controller, but I get this:

Uncaught FirebaseError: Firebase: No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp() (app/no-app).

And the entire app doesn't load.

What am I missing?

Thanks!

mikkopaderes commented 2 years ago

Probably you haven't done the configuration. I haven't tested this service against the latest Firebase v9 as well and with the modular SDK being the way moving forward, I don't think this service is actually needed anymore.

yandiro commented 2 years ago

I think I had firebase 9 at that moment. I am using it with firebase 8 and it works. Thanks for the addon and for answering!