腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
Flutter
+
Firebase
云
函数
-
如何
从
HttpsCallableResult
获取
数据
firebase
、
flutter
、
google-cloud-functions
我已经编写了一个简单的
云
函数
,它返回一个保存在cloud Firestore
数据
库中的id。
云
函数
如下所示: exports.getWinkert = functions.https.onCall((data, context) => { const winkertId = snapshot.wwinkert }) })
浏览 8
提问于2019-06-01
得票数 4
4
回答
颤振火基
云
函数
不能调用
flutter
、
google-cloud-functions
在使用
Firebase
函数
时,当我试图
从
Flutter
调用一个可调用
函数
时,我得到了一个错误。
flutter
: caught generic exception下面是我
如何
使用cloud_f
浏览 2
提问于2020-04-06
得票数 7
回答已采纳
3
回答
Android :
从
firebase
获取
当前日期和时间
android
、
firebase
、
firebase-realtime-database
、
timestamp
我想从
firebase
服务器获得当前的日期和时间,因为我不想依赖于设备时间,可以被操纵。我在
firebase
中使用了ServerValue.TIMESTAMP,但不知道
如何
使用it.It返回值为timestamp.How的映射。我可以将时间戳转换为日期吗?当用户点击每日奖金时,我想从
firebase
中
获取
今天的日期。
浏览 3
提问于2018-04-17
得票数 6
回答已采纳
1
回答
Firebase
+
Flutter
-
云
函数
onCall导致安卓应用程序出现“未认证”错误
android
、
firebase
、
flutter
、
google-cloud-functions
我已经将以下测试https.onCall
函数
部署到
firebase
上的
云
函数
-使用节点10部署: export const helloWorld = functions.https.onCall((data, context) => { "message": "Hello, world", }); 当
从
节点环境中测试时,此
函数
会按预期返回。然而,在我的
flutter
浏览 23
提问于2019-05-14
得票数 6
2
回答
在Android中接收调用
Firebase
云
函数
的
数据
java
、
android
、
firebase
我正在尝试调用我编写的
firebase
云
函数
。这是
Firebase
关于
如何
检索
数据
的示例: .getHttpsCallable("addMessage")@Override public String then(@NonNull Task<
Http
浏览 0
提问于2018-04-19
得票数 5
1
回答
从
Flutter
收集
云
函数
调用的性能指标
flutter
、
google-cloud-functions
、
firebase-performance
我试图使用
Firebase
云
功能来监视
Firebase
性能。当我运行以下代码时,会得到错误URL host is null or invalid。显然,这是因为我传递的是一个
函数
名,而不是带有主机的URL。import 'package:
flutter
/widgets.dart';import'package:
fire
浏览 4
提问于2019-10-21
得票数 1
回答已采纳
1
回答
直接调用
Firebase
云
函数
时会出现未经身份验证的错误
android
、
firebase
、
flutter
、
google-cloud-functions
我尝试使用
firebase
云
函数
oncall方法直接
从
我的颤振应用程序,它一直给我一个未经认证的错误,即使当我登录到颤振应用程序代码 ..timeout = const Duration(seconds: 30); final
HttpsCallableResult</e
浏览 1
提问于2020-04-05
得票数 3
1
回答
如何
让FirebaseFunctions.instance.httpsCallable()传递Authorization头部?(使用颤动)
firebase
、
flutter
、
firebase-authentication
、
google-cloud-functions
email': email, 'phone_number': phoneNumber, 'password': password, 'random_salt': randomSalt}; }} 这个人问的是类似的问题,但他们说答案是自动包含授权: How to add headers to
firebase
但我尝试检查
浏览 18
提问于2021-04-10
得票数 1
回答已采纳
1
回答
是否
从
[object Promise]
获取
数据
?
android
、
node.js
、
square-connect
如何
从
[object Promise]
获取
信息?我正在使用GCF (
云
函数
)来处理square支付。到目前为止,我收到了{ response="OK:[object Promise]" }的回复const functions = require('
firebase
-functions{ return rsp = 'ERROR:' + error
浏览 64
提问于2019-11-29
得票数 0
回答已采纳
1
回答
从
云
Firebase
服务器
获取
日期时出现问题
android
、
date
、
google-cloud-firestore
我正在尝试
从
云
Firebase
服务器
获取
日期,但在我为addOnFailureListener指定的敬酒词中收到以下错误:我将附加我在应用程序中添加的代码,以便他们可以检查它,并指导我,看看他们是否发现问题,提前谢谢const functions = require('
firebase
-functions');
浏览 0
提问于2020-08-18
得票数 0
1
回答
在android中,
从
firebase
函数
接收json
数据
将产生空值。
android
、
firebase
、
google-cloud-firestore
、
google-cloud-functions
我试图通过
firebase
function.
firebase
函数
控制台
从
消防站获得一组文档,显示文档的json
数据
,并将
数据
返回到安卓应用程序,但是
firebase
函数
可调用
获取
空value.can,您可以帮助我在android应用程序中接收文档
数据
。)=> { throw new functions.https.HttpsError("unknown", error.me
浏览 4
提问于2021-12-13
得票数 0
2
回答
在安卓系统中,
从
Firebase
函数
onCall方法中获得返回值的正确方法是什么?
android
、
json
我在
云
函数
中创建了一个
函数
来验证购买签名。它必须返回布尔值和字符串值。我在
Firebase
函数
文档中看到,我应该返回一个包含所有值的JSON结构。我就是这样做的。编辑const BASE_64_ENCODED_PUBLIC_KEY = "MY_PUBLIC_KEY_HERE" // The Cloud Functions
浏览 2
提问于2019-06-11
得票数 2
回答已采纳
1
回答
无法为razorpay [
firebase
_ functions / internal ]内部在
firebase
云
函数
中创建订单id
node.js
、
firebase
、
google-cloud-functions
、
flutter-web
、
razorpay
我正在使用node.js在
firebase
中编写
云
函数
,但是我得到了一个错误的[
firebase
_functions/internal] internal。catch(e){ res.status(403).send({error: 'error'});}); 我在
flutter
中触发
函数
的代码:- HttpsCallable callable = Firebase
浏览 20
提问于2021-09-06
得票数 0
回答已采纳
2
回答
Flutter
Firebase
函数
:调用
函数
时出错
android
、
ios
、
firebase
、
flutter
、
google-cloud-functions
我最近开始使用
Flutter
和
Firebase
开发一个应用程序。我使用
Firebase
Emulator来测试身份验证和
云
函数
。我的大部分代码都在
Firebase
Cloud Functions中,我将其用于Firestore和RTDB的所有CRUD。在添加一些新功能时,我在我的应用程序中遇到了这个错误。Plugin:
firebase
_functions
浏览 14
提问于2021-04-23
得票数 0
1
回答
尝试将DateTime对象发送到通过
Firebase
函数
传递的修复
firebase
、
flutter
、
google-cloud-firestore
、
google-cloud-functions
通过从应用程序直接向
Firebase
发送DateTime对象,可以自动完成对TimeStamp格式的转换。但是,如果我通过
云
函数
发送相同的对象,我将得到以下错误:我尝试使用toString()方法传递对象,并通过运行Date.parse但是在Firestore上,
数据
被记录为数字,而不是时间戳。
httpsCallableResult
= await callable.call({&q
浏览 0
提问于2020-12-05
得票数 0
回答已采纳
1
回答
如何
使用带颤振的
云
函数
从新图像中
获取
URL?
google-cloud-firestore
、
flutter
、
google-cloud-functions
、
firebase-storage
如何
从
火灾存储中的新图像中获得一个带有图像名称的URL?await uploadTask.future).downloadUrl;但是图像的大小太大了,因此我创建了一个
云
函数
云
功能:const gcs = require('@google-cloud/sto
浏览 0
提问于2018-07-13
得票数 2
回答已采纳
1
回答
是否可以在没有用户凭据的情况下删除
flutter
中的
firebase
用户
firebase
、
flutter
我知道有很多删除currentUser的例子,但我的应用程序通过一个管理员来管理它自己的用户。管理员需要删除用户,我已在firestore中删除了该用户 await _read(firebaseFirestoreProvider) .doc(userId).delete(); 但我仍然需要删除实际的用户,如果没有用户凭据或没有当前用户,这似乎是不可能的。 类似这样,但我没有要删除的用户的凭据,我也不想将其保存在firestore中 AuthCredential credentials = EmailAuthPr
浏览 27
提问于2021-07-23
得票数 0
1
回答
从
Firebase
函数
将
数据
返回给Android
android
、
node.js
、
firebase
、
google-cloud-functions
我想做的是:只是
从
Firebase
函数
返回
数据
。const functions = require("
浏览 1
提问于2021-03-25
得票数 1
回答已采纳
2
回答
Firebase
函数
更改超时
java
、
android
、
firebase
、
networking
、
google-cloud-functions
我在Android上使用
Firebase
函数
库,并使用getHttpsCallable调用
云
函数
。mFunctions.getHttpsCallable(function) .continueWith(new Continuation<
HttpsCallableResult
, String>() { public String then(@
浏览 1
提问于2018-06-21
得票数 9
回答已采纳
1
回答
如何
正确模拟颤振消防基地的功能?
flutter
、
testing
、
mocking
、
google-cloud-functions
、
flutter-test
我试图模拟
Flutter
Fire中的
Firebase
函数
包,但我一直收到错误。 import 'package:cloud_functions/cloud_functions.dartfinal MockFirebaseFunctions _fi
浏览 0
提问于2020-11-23
得票数 1
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
App后端服务,你是选择AWS还是Firebase?
Flutter 3.0正式发布:稳定支持6大平台,字节跳动是主要用户
我们弃用 Firebase了
谷歌今天更新了Firebase
Firebase模块的使用方法
活动推荐
运营活动
广告
关闭
领券