Firebase function onCall, response: Warning, FIREBASE_CONFIG environment variable is missing. Initializing firebase-admin will fail
问题 I try to call my test function from local project. But all time when i call, i take 401 error. I don't know what trouble here, in front end i have init app with api key, in firebase function i have admin.credential.applicationDefault() ; I tried to pass admin.credential.cer(apiConfig) , but this don't help to. I also have Environment variable GOOGLE_APPLICATION_CREDENTIALS , with path to my config. Dependencies "firebase-admin": "~7.0.0", "firebase-functions": "^2.2.0", "firebase-functions