Closed
Description
Version info
Angular: 12.2.3
Firebase: 9.0.0
AngularFire: 7.0.0
Other (e.g. Ionic/Cordova, Node, browser, operating system): node: v14.17.0, chrome: 92.0.4515.159
How to reproduce these conditions
Failing test unit, Stackblitz demonstrating the problem
i could't get angularfire 7 running in stackblitz, sorry.
Steps to set up and reproduce
- Setup a angualrfire 7 project
- use the provideFunctions method in the app.module.ts
- specify a region in the getFunctions function
@NgModule({
...
imports: [
provideFirebaseApp(() => initializeApp(environment.firebase)),
provideFunctions(() => getFunctions(getApp(), 'europe-west1')),
],
...
})
Debug output
The function is called from the default region even though I specified a region
Expected behavior
The function should be called with the region 'europe-west1'
Actual behavior
The function is called with the default region 'us-central1'
I think the provided region for cloud functions is ignored.
Metadata
Metadata
Assignees
Labels
No labels