Skip to content

Installing @angular/fire on IDX adds an unrecognized locationId #3556

Closed
@christhompsongoogle

Description

@christhompsongoogle

Related issue: #3452

When installing @angular/fire from ng add the firebase config is installed with a locationId field that isn't recognized. I installed firestore but I think this also applies to storage, and likely some others.

Interestingly the firebase config in the console (https://console.firebase.google.com/u/3/project/myprojectid/settings/general/web) doesn't contain a locationId:

const firebaseConfig = {
  apiKey: "",
  authDomain: "",
  projectId: "",
  storageBucket: "",
  messagingSenderId: "",
  appId: "",
  measurementId: ""
};

This may be coming from firebase-tools but at first glance I don't know where exactly. Example: src/init/features/project.ts

Versions:

Angular:
18.1.2

Firebase:
13.13.1

AngularFire:
18.0.1

Expected behavior

Recognize the locationId in the config or if not supported we could strip it from the config.

image

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