Skip to content

instruction on how to copy firebase configuration object is not clear enought #2

@franciscof5

Description

@franciscof5

that must be a simple task, but I cant undertand instruction on how to copy firebase configuration object is not clear enought,
i find something on environment.ts, but I copied the hole google config file without brackets and got:

[ng] Error: src/app/app.module.ts:23:41 - error TS2559: Type '{ project_info: { project_number: string; project_id: string; storage_bucket: string; }; client: { client_info: { mobilesdk_app_id: string; android_client_info: { package_name: string; }; }; oauth_client: { ...; }[]; api_key: { ...; }[]; services: { ...; }; }[]; configuration_version: string; }' has no properties in common with type 'FirebaseOptions'.
[ng]
[ng] 23 AngularFireModule.initializeApp(environment.firebaseConfig),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions