[REQUIRED] Environment info
firebase-tools:
8.4.3
Platform:
macOS
[REQUIRED] Test case
-
Set a function config on the local machine:
firebase functions:config:set app.environment="prd"
-
Deploy functions and check if the config is set by logging functions.config()

-
console.log(functions.config()) before firebase.initializeApp in webapp:

Output is an empty dictionary
[REQUIRED] Steps to reproduce
Same as above
[REQUIRED] Expected behavior
Functions.config() should return the set config in order to change the firebase config based on project that webapp is deployed in order to achieve staging/prod/testing environment differentiation.
[REQUIRED] Actual behavior
functions.config() is an empty dictionary which leads to a loss of access to app.environment resulting in no control over differentiation between firebase environments