cost 69 ms
使用 elasticsearch firestore 和 react-native 進行全文搜索

[英]Doing full text search with elasticsearch firestore and react-native

我有一個關於如何在 firestore 上進行全文搜索的問題。 我有一個簡單的應用程序,它是我在 React Native 上編寫的。 我的應用程序運行良好,我有雲功能,可以觸發 onCreate、onEdit 等。 我想集成 Elastic Search。 根據firebase文檔和Elastic ...

如何使用 firebase admin SDK 使用 FCM 發送大量推送通知?

[英]How to send a large amount of push notifications using FCM with firebase admin SDK?

我有一個 cron 作業 function 在 Firebase 函數上運行,它從我在 Firestore 中的用戶集合中獲取所有文檔,並使用 FCM 向他們的設備發送通知。 由於在一個 go 中可以發送多少令牌的限制,我將我所有的用戶令牌分成 100 個塊,並分批發送。 我試圖從文檔中了解這是否 ...

在 React 項目中導入 firebase 雲函數

[英]Importing firebase cloud functions in a React project

我正在構建一個 React 應用程序(這部分可能無關緊要)並構建了一個服務器雲 function: 我知道在我的客戶中調用它通常包括調用 我已經在一個單獨的項目中嘗試過這個,而且它有效。 但是,那是使用腳本標記在我的index.html中導入函數模塊: 但在我當前的項目中,我的模塊是在我的fireb ...

VS Code Intellisense 適用於 .ts 文件但不適用於 .js 文件

[英]VS Code Intellisense works for .ts files but not for .js files

我正在使用 firebase 函數。 VScode 不會向我顯示 .js 文件的錯誤和建議,但如果我將擴展名更改為 .ts,它會起作用。 我的項目沒有使用 TypeScript。 此外,我將它與 JavaScript 一起用於托管,Intellisense 運行良好! 我不知道,怎么了? ...

無法獲取 Firebase 項目 xxxxxx。 請確保該項目存在並且您的帳戶有權訪問它

[英]Failed to get Firebase project xxxxxx. Please make sure the project exists and your account has permission to access it

我在Flutter(A,B)有兩個項目,在項目AI中正常連接到Firebase一切正常,它帶來數據,發送數據,更新和刪除數據。 因為那個項目來自我的個人谷歌賬戶,但是當我使用非個人的項目 B 時,它來自外部賬戶,它不允許我攜帶數據,它不允許我做任何事情,我得到了控制台。 [2023-02-01T03 ...

Function 執行耗時 540029 毫秒,完成狀態:“超時”

[英]Function execution took 540029 ms, finished with status: 'timeout'

我創建了一個連接到 MQTT 代理的雲 function 我使用了第三方 MQTT 代理(Mosquito MQTT 代理),並在每次 MQTT 代理從機器接收數據時將數據發送到 Firebase 實時數據庫。 我正在使用 GCP 控制台編寫和部署 function。我成功部署了 function ...

由 pubsub 日志調用的 Cloudfunction v2“要么允許未經身份驗證的調用,要么設置正確的授權 header。”

[英]Cloudfunction v2 invoked by pubsub logs "Either allow unauthenticated invocations or set the proper Authorization header."

我創建了一個由 pubsub 主題/訂閱 messagePublished 事件調用的 cloudfunction v2。 但是,每當它被觸發時,我都會收到此錯誤: 我嘗試將具有“Cloud Functions Invoker”角色的“allUsers”主體添加到雲 function,但無論如何我 ...

firebase schedule function運行一次,運行一次刪除(取消重復)

[英]Run firebase schedule function one time and delete it once it run(cancel the recurrence)

我正在為該項目使用 Firebase 服務。 我們要求用戶可以在特定時間安排任務。 例如 1 月 30 日下午 2 點,2 月 2 日下午 3 點和 N。在特定的日期和時間,調度程序必須啟動並執行邏輯並且必須刪除而不重復。 為此,我探索了 firebase 服務,找到了 firebase 可以使用 ...

條紋 firebase 分機

[英]Stripe firebase extension

我有一個 expo android 應用程序和反應 web 應用程序。 這兩個應用程序都使用來自 firebase 的電話身份驗證。在創建新用戶時,stripe 擴展會同時在 stripe 中創建一個新用戶。 問題是我的客戶主要登錄 android 應用程序,而不是 web 應用程序。 現在我需要為 ...

有沒有辦法判斷用戶是否在 Firebase Auth 上注冊了電話號碼或 email 和密碼

[英]Is there a way to tell if a user is registered with phone number or email & password on Firebase Auth

我正在構建一個后端為 Firebase 的 React App。 我有兩種類型的用戶,管理員用戶和標准用戶。 管理員由超級管理員使用 email 和密碼創建,他們的電話號碼設置為他們的個人資料。 標准用戶使用電話號碼注冊。 我想使用帶有 onCreate 身份驗證觸發器的 Firebase 雲功能為 ...

從 NestJS 發送 email,部署到 Firebase 函數到關聯的 Gmail 帳戶地址

[英]Send email from NestJS, deployed to Firebase functions to the associated Gmail account's address

我有一個 NestJS 應用程序部署到 Firebase,並連接了 Firebase 函數。 我有一個 API 它接受來自不同 Firebase Angular 前端項目的表單數據(我更喜歡將 BE 和 FE 項目分開)。 由於驗證目的,我想通過我的 NestJS 后端將該聯系表單數據通過 emai ...

如何解決 firebase deploy Parsing error: Cannot read file

[英]How to resolve firebase deploy Parsing error: Cannot read file

我今天第一次嘗試 firebase 部署功能。 當我在終端中命令$ firebase deploy時,出現如下解析錯誤。 我發現tsconfig.json 文件路徑很奇怪。 函數目錄重復。 但是我找不到收集問題的方法。 當前的項目結構如下。 .eslintrc.jsmodule.exports ...

Cloud Functions:當文件上傳到 GCS Bucket 時如何將數據插入 BigQuery?

[英]Cloud Functions: How to Insert Data into BigQuery when a file is Uploaded into a GCS Bucket?

我是 GCP Cloud Functions 的新手,我正在嘗試將 function 添加到我現有的代碼中,這將在將特定文件上傳到我的 GCS Bucket 時將數據插入 BigQuery。 我不確定如何編寫一個 function 來完成這個任務——比如,我是否需要編寫一個 function 來首 ...

如何安排 Firebase Cloud function 在創建后的特定 firestore 文檔上運行 5 分鍾

[英]how to schedule a Firebase Cloud function to run in 5 minutes on a specific firestore document upon creation

我想撥打支付提供商的驗證電話 API 以查看交易狀態。 問題。 支付提供商發送帶有交易狀態的 webhook,但有時此過程會失敗。 我通常會在收到 webhook 后更新 firestore 文檔中的交易狀態,但有時這會失敗,導致支付網關的控制台和 firestore 文檔中的狀態不一致。 建議的解 ...

terraform:在 google_cloudfunctions_function 資源中添加“secret_environment_variables”時出錯

[英]terraform: Error while adding "secret_environment_variables" in google_cloudfunctions_function resource

我已經為 cloudFunction 嘗試了以下 tf 代碼。 但是,我在 terraform 驗證中收到以下錯誤。 不知道為什么會報這樣的錯誤。 請注意:我的 terraform 版本是:0.14.11,谷歌提供商版本是:v3.90.1 我在這里檢查了類似的問題: terraform: how t ...

如何使用 Google Cloud 任務隊列並獲得 json 響應?

[英]How to use a Google Cloud Task Queue and get a json response?

我想在我的 firebase 雲 function 中使用 Google Cloud Task Queue 調用另一個 function 並返回工作。 這是我們可以用 Google Cloud Task 做的事情嗎? 我正在嘗試做一些類似的事情,例如 Redis 隊列,一旦工作完成,我就可以獲得結 ...

未歸類為瞬態的重試方法中發生 Firestore 異常

[英]Firestore exception occurred in retry method that was not classified as transient

我將 GCP 與節點 16 和 Firestore 一起使用。 我正在獲取子集合的數據並按 ID 更新。 在console.log(subCollect.id); 和console.log(subCollect.data()); 記錄的信息是正確的。 在更新命令中,我收到以下錯誤 更新錯誤: ...

我怎么知道我的 firebase 雲 function 是否正常工作?

[英]How can i know that my firebase cloud function is working or not?

我創建了一個 firebase function,如下所示,但我不知道如何調試它,我正在使用npm run serve 我正在嘗試在我的實時數據庫中創建、更新、刪除數據,如果您看到參考資料是開發。 但是當我檢查我的 rt 數據庫時,它沒有任何改變。 首先,在我看到它沒有更新任何內容后,我正在編輯我 ...

如何使用 Node JS 創建 Plaid LinkToken?

[英]How to create a Plaid LinkToken using Node JS?

我相信 Plaid 更新了它的 createLinkToken 文檔,但我似乎無法弄清楚我在這里做錯了什么。 我正在上一門課程,這里是使用 FirebaseFunction 創建帶有 Plaid 的鏈接令牌的舊代碼: 我已經嘗試了很多東西。 我知道plaid.Client現在是new.Config ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM