在 Firebase 函数中验证 reCAPTCHA v3 会导致 CORS 问题

问题描述我的Firebase函数中有以下代码验证GooglereCAPTCHAv3,导致CORS问题:constfunctions=require('firebase-functions');常量nodemailer=要求(nodemailer");常量表达=要求(表达");常量

发布:2022-10-16 标签:firebaserecaptchagoogle-cloud-functions


Firebase 云函数 - snapshot.forEach(...).then 不是函数

问题描述我的数据库布局是:@posts@postId_abc-total_score:...//willupdatefromcloudfunction-score_count:...//willupdatefromcloudfunction@scores@postId_abc-u

发布:2022-10-16 标签:node.jsfirebase-realtime-databasegoogle-cloud-functions


通过 GET 调用 Firebase 云函数并返回参数

问题描述我已经创建了这个云函数:Ihavecreatedthiscloudfunction:exports.returnUid=functions.https.onRequest(async(req,res)=>{constuid=req.query.uidres.send(ui

发布:2022-10-16 标签:javascriptfirebasegoogle-cloud-functions


谷歌云功能美国中央时区?

问题描述我想知道像EST、CST、MST、PST这样的运行时区云函数代码.我部署了函数来获取它,但它返回了2018-12-05T17:54:00.207Z并且没有应用任何美国时区.它不在美国运行吗?I'dliketoknowwhattimezonecloudfunctioncod

发布:2022-10-16 标签:google-cloud-functions


Firebase 云函数 EventContext.auth(迁移指南)

问题描述我遵循FirebaseSDKforCloudFunctions迁移指南"并且在将文件上传到云存储后集成新属性以获取用户身份验证信息时遇到问题.Ifollowedalongthe"FirebaseSDKforCloudFunctionsMigrationGuide"andh

发布:2022-10-16 标签:firebasefirebase-storagegoogle-cloud-functions


Gaxios._request 中的值无效 (/srv/node_modules/googleapis-common/node_modules/gaxios/build/src/gaxios.js:89:23)

问题描述我正在尝试向google发出请求以验证我的IAP购买,但我不断收到错误消息Gaxios._request的值无效(/srv/node_modules/googleapis-common/node_modules/gaxios/build/src/gaxios.js:89:

发布:2022-10-16 标签:node.jsandroidin-app-purchasegoogle-cloud-functions


如何从 Firebase 托管应用程序访问特定于环境的 Firebase 功能端点?

问题描述我有三个Firebase项目,分别代表Firebase托管上的开发、暂存和生产环境.每个环境都使用自己部署的Firebase功能,如下所示:IhavethreeFirebaseprojectsrepresentingDevelopment,StagingandProduc

发布:2022-10-16 标签:firebasegoogle-cloud-functionsfirebase-hosting


Firebase Cloud Functions 会立即删除节点,而不是在 2 小时后删除

问题描述我在firebase2小时后使用CloudFunctions删除节点.但是,当我添加节点时,它会在数据库中创建后立即被删除I'musingCloudFunctionstodeletenodesafter2hoursonfirebase.However,whenIaddan

发布:2022-10-16 标签:javascriptnode.jsfirebasefirebase-realtime-databasegoogle-cloud-functions


将云功能连接到 iOS 应用程序以立即发送大量推送通知

问题描述我是Swift开发人员,但我不是后端开发人员.这实际上是下面以粗体显示的3个不同的问题,但它们都相互依赖.任何类似问题的堆栈溢出答案都足以让我开始I'maSwiftdevandI'mnotabackenddev.Thisisactually3differentquesti

发布:2022-10-16 标签:node.jsiosswiftgoogle-cloud-functions


从 Firebase 函数返回数据到 Android

问题描述我正在尝试做的事情:只需从FirebaseCloudFunction返回数据.WhatIamtryingtodo:SimplyreturndatafromFirebaseCloudFunction.该函数用于在支付网关的服务器中创建支付订单.Thefunctionisus

发布:2022-10-16 标签:node.jsandroidfirebasegoogle-cloud-functions