firebase / firebase/quickstart-js

Get the region of my firebase function from frontend file

Open
#907 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.4k
Forks
3.7k
Avg merge
2d 13h
Merged PRs (30d)
6

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.