腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
无法
返回
从
flutter
中
的
firestore
数据
创建
的
用户
对象
的
自定义
'
user
‘
实例
flutter
、
dart
、
google-cloud-firestore
、
null
我有一个
自定义
的
'
User
‘类,我正在尝试根据
用户
的
uid
从
firestore
中
检索
用户
的
数据
。我能够成功地将它映射到我
的
自定义
'
User
‘
对象
中
,但是我不能从该函数
返回
。以下是代码片段: 到目前为止,我认为它不能
返回
Us
浏览 9
提问于2020-07-28
得票数 1
回答已采纳
1
回答
使用
Flutter
firebase
自定义
用户
名和密码登录
firebase
、
flutter
、
firebase-authentication
、
flutter-dependencies
有人知道如何使用firebase或任何其他服务为
flutter
提供
自定义
用户
名和密码登录吗?我不是在谈论电子邮件验证。
用户
只需
创建
用户
名和密码并登录即可。
浏览 15
提问于2020-06-24
得票数 1
2
回答
未按预期
从
await函数
返回
未来
flutter
、
dart
函数signInWithGoogle调用getUser函数
从
Firestore
数据
库
中
检索
用户
信息,并期望
返回
一个
User
。因为这是一个
Firestore
API调用,所以getUser
返回
的
User
是一个Future,而getUser是使用await调用
的
。函数
中
,不会
从
Future<
User
>接收回
Use
浏览 0
提问于2019-06-02
得票数 1
1
回答
RSA加密非法块大小异常
android
、
encryption
、
rsa
我用这个得到别人
的
公钥:
浏览 0
提问于2018-11-24
得票数 0
回答已采纳
1
回答
Firebase:有没有办法在
flutter
中将电话号码添加到google登录
用户
?
flutter
、
firebase-authentication
我已经使用firebase身份验证在我
的
flutter
应用程序
中
实现了google sign。我想添加一个电话号码
的
用户
谁已经在应用程序中使用谷歌登录。我已经试过电话认证了。它
创建
了另一个
用户
,并替换了应用程序
中
的
现有
用户
。有没有办法把两者都集成起来呢?
浏览 6
提问于2020-07-01
得票数 0
回答已采纳
2
回答
Firestore
:查询集合是否也包括它们
的
子集合?
javascript
、
firebase
、
google-cloud-firestore
我有一个名为users
的
集合,由他们
的
姓名和其他个人详细信息组成,它还有一个子集合,由他们
的
车辆组成。 但是对于某些操作,我只想查询
用户
数据
。我担心它也会包含子集合,这会增加我
的
数据
使用量。
数据
库结构如下图所示: ? }) console.log("Error getting documents: ", error); }); 我正在获取
数据
,但我不确定这
浏览 31
提问于2019-04-11
得票数 8
回答已采纳
1
回答
如何将使用“新”运算符
创建
的
对象
保存到
Firestore
?
javascript
、
google-cloud-firestore
我有一个简单
的
类型记录通知类,我正在尝试
实例
化并保存到防火墙
中
new
User
(followerDoc.usernamefollowerDoc.photoUrl) _usersRef .collection("notifications")抛出 错误:参数“
数据
”
的
值不是有效
的
浏览 2
提问于2020-12-24
得票数 1
回答已采纳
1
回答
使用
数据
库在Android
中
自定义
Firebase登录
android
、
database
、
firebase
、
firebase-authentication
好吧,我是Firebase
的
新手,对此我有一些疑问。我正在制作一个使用Android studio
的
项目应用程序。我使用Firebase电子邮件/密码身份验证
创建
了一个注册和登录页面。但由于我
的
应用程序应该是由大学
的
学生使用
的
,所以我
的
要求如下: 1)登录页面应包含学生id和密码字段。 2)注册页面应该有电子邮件,学生号和密码字段。3)我应该有一个学生
数据
库与学生id,姓名,课程列,每列10个值。 4)只有
数据
库
中<
浏览 12
提问于2019-01-30
得票数 0
回答已采纳
1
回答
StreamBuilder
数据
==为空
flutter
@override final
user
= Provider.of<
User
>(context);uid; CollectionReference userCollection =
Firestore
.instance.collectiongender: snapshot.data['gende
浏览 5
提问于2020-05-22
得票数 0
2
回答
Flutter
:什么时候应该使用工厂构造函数?
flutter
、
dart
( id: json['id'], );} 接收在请求
中
接收到
的
JSON字符串并在应用程序
中
处理它是一个相册类,构造函数除了提供常规构造函数外,还提供了一个工厂构造函数。示例
中
Logger类
的
工厂构造函数并不总是
创建
新
的
实例
,因此我可以理解添加工厂关
浏览 4
提问于2020-08-28
得票数 3
2
回答
Firebase电话号码OTP auth可以用来在
Firestore
数据
库
中
创建
用户
(注册/注册)吗?如果是,怎么做?(android)
android
、
firebase
、
flutter
、
google-cloud-firestore
、
firebase-authentication
我想要达到
的
目标是: 我不确定
Flutter
<
浏览 1
提问于2020-07-12
得票数 0
回答已采纳
1
回答
Flutter
: Provider和Firebase |
Firestore
数据
(映射)
中
的
对象
列表
从
Provider
返回
null
firebase
、
flutter
、
google-cloud-firestore
、
flutter-provider
我对
Flutter
还是个新手。因此,目前我在我
的
项目中使用了一个提供程序包,它只是
从
Firestore
集合
中
获取一个快照(QuerySnapshot),然后将其映射到TaskObject (我
创建
的
自定义
对象
)
中
,然后将映射
的
任务
对象
转换为一个列表问题是:当我在UI dart文件中使用Provider.of<List<TaskObject>>(context
浏览 20
提问于2021-02-03
得票数 0
1
回答
无法
在颤振
中
获得令牌Id
firebase
、
flutter
、
google-cloud-firestore
、
firebase-authentication
我正在使用下面的代码在
Flutter
中注册以Firebase为后端
的
新
用户
,但是我
无法
在我
的
应用程序
中
检索令牌id,当我试图将它保存在它作为null存储
的
消防站
数据
库时。password: pwdInputController.text)
Firestore
.instance.collection
浏览 3
提问于2020-06-03
得票数 0
2
回答
检测应用程序被杀并清除
Firestore
。
Flutter
开发
的
语音聊天应用
firebase
、
flutter
、
google-cloud-firestore
、
agora.io
我正在用
Flutter
为iOS和Android做一个语音聊天应用。我使用Firebase
Firestore
在聊天室中保持活跃
用户
。当
用户
杀死一个应用程序(通过在应用程序列表
中
向上滑动)时,我
无法
检测到它。因此,
无法
从
Firestore
users字段
中
删除
用户
。我想让
用户
留在
firestore
中
,而应用程序是后台
的
。如何成功地
浏览 47
提问于2021-04-09
得票数 2
3
回答
是否可以根据
用户
角色
从
启动屏幕导航或推送到管理屏幕或
用户
屏幕?
firebase
、
flutter
、
google-cloud-firestore
、
firebase-authentication
我正在使用颤振和火基
创建
一个web应用程序。"></script> 我试图导航后,使用电子邮件和密码
的
方法登录
用户
。
用户
应该导航到admin page或
user
page取决于cloud
Firestore
上
的
user
role。
从
登录页面登录
用户
后,它将导航到splash screen,
用户
应该在那里决定导航到下一个页面,这取决于
用户
角色。它
浏览 0
提问于2021-10-10
得票数 0
回答已采纳
1
回答
Firebase
Firestore
不显示由
flutter
应用程序
创建
的
文档
firebase
、
flutter
、
google-cloud-firestore
我可以用
flutter
应用程序在Firebase
中
配置
Firestore
数据
库,也可以
从
我
的
收藏
中
创建
和读取文档,但当我进入
Firestore
控制台时,我看不到
创建
的
数据
,而且当我手动
创建
数据
时,我也
无法
在应用程序中看到它我使用
的
是测试模式,这意味着任何
用户
都可以读或写。 我希望有人能帮我解决
浏览 11
提问于2020-01-18
得票数 1
回答已采纳
2
回答
如何在
Firestore
中
搜索值
firebase
、
flutter
我有一个
Firestore
数据
库,看起来像这样 -
user
- userId: Rsa245156.....- username:
user
67 - address: Flamboyan Street No. 24 - picture_path我
从
Firebase Auth
中
的
userId
创建
了一个userId,因此当登录<em
浏览 21
提问于2019-04-17
得票数 0
1
回答
不使用防火墙
的
时间戳.功能.试验
javascript
、
firebase
、
testing
、
google-cloud-firestore
、
firebase-admin
我使用
的
是firebase-admin 8.6.0和firebase-functions-test 0.1.6,它在测试中支持Fi还原时间戳(
从
0.1.5 开始),但是在尝试将它们与test.
firestore
.makeDocumentSnapshot有人能帮助我理解我
的
实现
中
的
错误吗?();const testingTimestamp2 = admi
浏览 3
提问于2019-11-14
得票数 0
1
回答
使用
Flutter
和
Firestore
中
的
新
数据
更新StreamBuilder
flutter
、
google-cloud-firestore
、
stream-builder
我在
Flutter
中使用StreamBuilder来获取
firestore
集合users
的
实时更新。我想按年龄过滤
用户
。StreamBuilder<List<
User
>>( builder: (context, snapshot) {print(snapshot.data);); 基本上,底层
的
firestore
查询只是一个简单
的
w
浏览 13
提问于2020-10-25
得票数 0
1
回答
未调用异步函数链
中
的
函数
javascript
、
angular
、
firebase
每当
用户
登录时,我希望在
Firestore
中
更新
用户
的
数据
,并使用以下代码来执行此操作。由于某些原因,代码
无法
工作(请参阅注释),并且不能从firebase.
User
创建
自定义
User
对象
。为登录而调用
的
代码 async emailLogIn(email: string, password: string) { return this.auth.signInW
浏览 13
提问于2021-01-04
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
InAppWebView:Flutter中WebView的真正力量
如何利用BLoC在Flutter和AngularDart中共享代码?
如何优雅构建自定义 Spring Boot 验证器,让你的代码更加丝滑!
贝壳Flutter调试工具-FDB
贝壳Flutter混合容器实践
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券