我有一个Android应用程序,可以将电话号码列表发送到我项目中的Cloud函数。然后,服务器应该检索所有用户的电话号码列表,获取两个数组之间的交集(相同的元素),然后将交集数组中用户的Firebase Auth用户ID返回给应用程序。这就是我想出来的: // The CloudFunctions for Firebase SDK to create CloudFunctions and setup triggers.
constfunc
我正在尝试设置一个firebase函数,在文档被删除时删除文档的所有子集合。通过阅读我已经读到的文档,:
// The CloudFunctions for Firebase SDK to create CloudFunctions and setup triggers.我看到,为了使用delete集合函数,有必要传递一个数据库collectionPath和batchSize。在这种情况下,正
我使用this tutorial作为学习对话流和Firebase的主要方法,并且我被以下代码部分卡住了: 25 if(action === 'firebase.update'){ 31:17 error Each then() should return a value or throw promise/always-return33:21 error Expected catch() or return
在编写一个在创建用户时触发的简单示例函数时出现以下错误。<anonymous> (/srv/node_modules/firebase-functions/lib/cloud-functions.js:84:19) at /srv/node_modules/firebase-functions</em
当试图使用Firebase deploy部署我的Firebase函数时,我会得到以下错误:
Error: Error occurred while parsing your function triggersError: Failed to initialize Google Cloud Firestore client with the available credentials.Must initialize the SDK with a certificate credential or application de