Skip to content

Allow us to pass a factory of FirebaseAppConfig to AngularFireModule.initializeApp() #1314

@snakenstein

Description

@snakenstein

It would be great if we get an option to pass a factory function of FirebaseAppConfig to AngularFireModule.initializeApp().
In some cases such as using a webpack to get enviroment variables and AOT compiler it is impossible now to initialize AngularFireModule with correct config parameters. This is because of webpack does not run yet at the moment of module compilation.
The ability to pass a factory of FirebaseAppConfig to static initialization function would be a solution for this and maybe other similar problems.
One related issue already exists: #1281

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions