gpt4 book ai didi

android - 在本地测试 firebase 功能 : How to point android app to the locally running callable functions?

转载 作者:搜寻专家 更新时间:2023-11-01 07:42:51 25 4
gpt4 key购买 nike

我知道我可以通过运行以下命令在本地启动我的 firebase 云功能。

firebase serve --only functions

但是,在使用 android firebase SDK 调用函数时,有什么方法可以将我的 android 客户端应用程序指向本地运行的函数,以便我可以在将函数部署到 firebase 之前测试真实的应用程序?

最佳答案

目前不支持使用客户端 SDK 更改可调用函数的端点。该团队知道开发人员愿意这样做,但这对 file a feature request 没有坏处。帮助团队衡量对此功能的需求量。

与此同时,您有 other ways在本地调用您的可调用对象,而不是通过客户端 SDK。

关于android - 在本地测试 firebase 功能 : How to point android app to the locally running callable functions?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51905236/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com