How to get Firebase Project Name or ID from Cloud Function

后端 未结 6 1412
别跟我提以往
别跟我提以往 2021-01-01 12:25

I am using Cloud Functions and want to get the project name from within one of my Javascript server files. I know that value is stored in the .firebaserc, but I don\'t thin

6条回答
  •  醉话见心
    2021-01-01 12:42

    Currently I'm using app.INTERNAL.credential_.projectId. This is clearly not save, but so far there is no cohesive way to get it (AFAIK)

提交回复
热议问题