-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add the region configuration for Cloud Functions #659
Comments
@mamillastre I've just created a PR. Would you be willing to test the dev build?
|
@mamillastre Have you had a chance to test this? |
I just tested it and it works just as expected on all platforms. |
Thank you for testing. |
@robingenz Yes, we need this feature to support CloudFunction 2ndGen. Good if you push as early as posible. Also, we need to support to connect given database id as well. Thanks |
@kbala-ami Feel free to create a feature request. |
Plugin(s)
Current problem
The default region is "us-central1" so if we use an another region, the callByName() method will fail.
Preferred solution
We need a way to change the cloud functions' region. (a callByName() method option or a global configuration ?)
Alternative options
We have a workaround for now by using the callByUrl() method.
Additional context
Firebase docs: https://firebase.google.com/docs/functions/locations#client-side_location_selection_for_callable_functions
Before submitting
The text was updated successfully, but these errors were encountered: