Description
Hi,
I have been trying to get a Cloud Function Gen2 to work with Flutter for the past few days. Although the community has been helpful in addressing several issues, I still have a question about making a function work in the eu-west-3 region with Firebase. I am opening a new issue since this question is related to the same topic but differs in focus. You can find the history of our previous discussions here:
- [📚] Firebase Gen2 Functions invocation Flutter #10795
- 🐛 [cloud_functions] Can't call 2nd gen functions due to missing
httpsCallableFromURL
method #10541
As Loykone pointed out in issue 10541, the supposedly supported regions for Firebase Functions Gen2 are listed on the following documentation page:
The supported regions listed are: "asia-northeast1", "europe-north1", "europe-west1", "europe-west4", "us-central1", "us-east1", and "us-west1". However, the Google Cloud documentation for Cloud Functions shows a broader list of supported regions.
My question is: Why does Firebase only support a subset of the available regions? I tried using eu-west-3, and it didn't work, while eu-west-1 did. However, the response time for eu-west-1 is twice as long as for eu-west-3, which is not ideal for my use case.
Is there a specific reason for this limitation in the Firebase SDK? Should I consider using the Google APIs package directly instead?
Thank you for your assistance!