quickstart-js icon indicating copy to clipboard operation
quickstart-js copied to clipboard

Get the region of my firebase function from frontend file

Open Adamou02 opened this issue 5 months ago • 0 comments

Step 1: Describe your environment

  • Operating system: Windows 11
  • Browser: Chrome/139.0.0.0
  • Firebase SDK version: 11.9.1

Step 2: Describe the problem:

Actually I can get DB and App infos with :

import { getFirestore, connectFirestoreEmulator } from 'firebase/firestore'; const db = getFirestore(); or import { getApp } from 'firebase/app'; const app = getApp();

It woud be useful to get the region of my firebase functions using a similar approach

Adamou02 avatar Sep 03 '25 21:09 Adamou02