Answer the question
In order to leave comments, you need to log in
When can firebase.config differ from functions:functions:get?
Set the environment variables as indicated in the docs:
firebase functions:config:set someservice.key="THE API KEY" someservice.id="THE CLIENT ID"
Answer the question
In order to leave comments, you need to log in
If anyone is interested, then the runtime config is taken from the local file, and the CLI gets the config from the deployed functions.
This command pulls the remote config into the local .runtimeconfig:
firebase functions:config:get > .runtimeconfig.json
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question