Skip to content

TypeError: this.firebaseApp.functions is not a function when upgrading to firebase 9; angularFire 7 #2950

Discussion options

You must be logged in to vote

You should inject functions, AngularFireFunctions in your constructor and make sure your importing AngularFireFunctionsModule in your AppModule for best experience. It's likely something is getting tree-shaken out, or your "side-effect" import (import 'firebase/functions') was not converted to compat, injecting AngularFireFunctions means you don't have to worry about any of that.

Replies: 2 comments

This comment has been hidden.

Comment options

You must be logged in to vote
0 replies
Answer selected by LanderBeeuwsaert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2942 on September 14, 2021 07:21.