-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to load dynamic firebase config, tried many ways but fail to load. #3518
Comments
This issue does not seem to follow the issue template. Make sure you provide all the required information. |
Somehow able to solve this by loading the settings from API and setting them in localstorage. This may be helpful to others. main.tsgetConfig().then(async config => { API getConfig()export async function getConfig() { appModule.tsAngularFireModule.initializeApp({ |
Version info
Angular: 14
Firebase: 9.16.0
AngularFire: ^7.4
How to reproduce these conditions
I am using below firebase initialization in app.module.ts, but I would like to load firebaseConfig from a REST api call result.
Tried many ways, but failed to achieve this functionality.
Would someone kind enough to help us here please
The text was updated successfully, but these errors were encountered: