Allow multiple Firebase Apps in single site #2451
codercatdev
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
Let me look into this, it's possible we might change the API in the future, in the meantime I'll better document how to work with multiple apps. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @Ajonp , have you got any solution ?.. we have a similar requirement to load firebase config dynamically. Thanks in advance |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Change AngularFireModule providers to include factories
Allow for the FirebaseAppConfig to be passed using a Factory, so that you can dynamically set each app.
angularfire/src/core/firebase.app.module.ts
Line 59 in 73d5a1f
Changing
to something like this (fully admit not that good with DI).
Beta Was this translation helpful? Give feedback.
All reactions