angular / angularfire

Angular + Firebase = ❤️
https://firebaseopensource.com/projects/angular/angularfire2
MIT License
7.66k stars 2.19k forks source link

How to connect angular project to multiple firebase projects ? #3170

Open ArchieLabs opened 2 years ago

ArchieLabs commented 2 years ago

Version info

Angular: 13.1.1

Firebase: 9.4.0

AngularFire: 7.2.1

Other (e.g. Ionic/Cordova, Node, browser, operating system) : Browser

How to reproduce these conditions

I've followed every tutorial I can find to integrate two fireabse projects into a single angular project, but nothing works. I've detailed everything in this link : https://stackoverflow.com/questions/71272920/how-to-have-multi-project-firebase-using-angularfire

I've read that the newer version offer a modular system and there is no need to use DI, how I can use this to solve this problem ?

Debug output

Expected behavior

Actual behavior

Sapython commented 2 years ago

Here is your solution mate solution