腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Flutter
:
如何
使用
以前
的
状态
更新
Firestore
中
的
数据
firebase
、
flutter
、
dart
、
google-cloud-firestore
我是
Flutter
的
新手,我想知道是否有一种方法可以
使用
Firestore
中
的
前一个
状态
来
更新
它。我
的
文档中有一个counter: 0,我正在尝试将其递增1或递减2。 我
如何
才能做到这一点?
浏览 11
提问于2020-12-02
得票数 1
回答已采纳
1
回答
当我
更新
ListView上
的
列表时,
Flutter
页面不会重新加载
android
、
firebase
、
flutter
、
listview
、
dart
import 'package:cloud_
firestore
/cloud_
firestore
.dart'; import '..“类别”页面,其想法是一旦重新路由到此页面,我将创建一个列表视图以不将屏幕留空,并运行Firebase调用来加载项目,当前设置为2个项目的限制(用于测试),并且我创建了类似卡片
的
容器来保存项目的
数据
。问题是列表
中
的
所有项目都存储在“行”
中
,当我在控制台上打印该变量时,它会
更新
,但屏幕上
浏览 21
提问于2021-05-14
得票数 0
回答已采纳
1
回答
Flutter
实时通知
firebase
、
flutter
、
android-studio
、
google-cloud-firestore
、
flutter-notification
我正在
使用
Firestore
作为我
的
flutter
应用程序
的
数据
库。我
的
应用程序上
的
一些操作会导致
Firestore
数据
的
更改/
更新
。 我正在
使用
Flutter
本地通知,它是在单击按钮时生成
的
。然而,尽管
数据
后来在
Firestore
中进行了
更新
,但传递给通知
浏览 26
提问于2021-04-30
得票数 0
2
回答
有没有可能以某种方式表明这两个小部件具有相同
的
状态
?
flutter
、
flutter-layout
假设在TabBarView
中
的
不同屏幕上有两个相同
的
小部件,例如图标,当我更改其中一个图标的颜色时,第二个图标也应该更改它并重复其所有更改。因此,它本质上是一个元素和一个视图,但在树
中
的
两个不同位置。我
的
问题是,有没有办法让这些图标保持一个共同
的
状态
或指向小部件树
中
的
相同元素。没有任何监听程序或
状态
管理。 我
的
第一个想法是让它们拥有相同
的
密钥,但这当然行不通。简而
浏览 1
提问于2021-04-25
得票数 1
1
回答
Flutter
_bloc在没有UI事件
的
情况下从防火墙获得
更新
的
数据
flutter
、
google-cloud-firestore
、
bloc
我正在
使用
颤振来交换来自几个设备
的
防火
数据
。 步骤: 如果我没有"UI事件“,因为正在从另一个设备
更新
存储
数
浏览 2
提问于2019-03-27
得票数 5
1
回答
颤振修复NoSuchMethodError:方法'get‘被调用为null
firebase
、
dart
、
flutter
、
google-cloud-firestore
我有一个消防队
的
数据
库。我想知道
的
是
如何
检查这个
数据
库
中
是否存在某个文档引用。我
以前
工作过
的
代码现在坏了。获取参考
Firestore
.instance.document('$_id/$_presentDate BalanceTotal'); 检查
数据
是否存在我只想确保如果这样做,我可以
更新
旅行变量。我得到<
浏览 4
提问于2018-10-05
得票数 0
1
回答
使用
以前
的
状态
更新
firestore
javascript
、
firebase
、
google-cloud-firestore
是否可以
使用
以前
的
状态
更新
firestore
?所以我最终得到了像这样
的
东西。
firestore
() .doc
浏览 4
提问于2018-01-06
得票数 2
回答已采纳
2
回答
检测应用程序被杀并清除
Firestore
。
Flutter
开发
的
语音聊天应用
firebase
、
flutter
、
google-cloud-firestore
、
agora.io
我正在用
Flutter
为iOS和Android做一个语音聊天应用。我
使用
Firebase
Firestore
在聊天室中保持活跃用户。当用户杀死一个应用程序(通过在应用程序列表
中
向上滑动)时,我无法检测到它。因此,无法从
Firestore
users字段
中
删除用户。我想让用户留在
firestore
中
,而应用程序是后台
的
。
如何
成功地知道用户何时离开应用程序?顺便说一句,我正在
使用
Agora RTC SD
浏览 47
提问于2021-04-09
得票数 2
1
回答
如何
在
Flutter
中
调用Firebase
中
的
Cloud函数?
firebase
、
flutter
、
google-cloud-firestore
、
google-cloud-functions
我正在尝试
使用
云函数
更新
一些值,这些值将从我
的
Flutter
应用程序输入到
FireStore
。到目前为止,我
的
代码如下:exports.update = functions.https.onRequest
中
,这是我尝试过
的
: Future&l
浏览 2
提问于2021-10-04
得票数 0
1
回答
我们可以在firebase
flutter
中一起
更新
文档字段值列表吗?
firebase
、
flutter
、
dart
、
google-cloud-firestore
我想一起
更新
所有文档字段
的
值,而不是逐个
更新
。 举例说明。在这张图片中,我想
更新
hello
中
的
Thumb值。 我也尝试过,但是值没有
更新
。
浏览 22
提问于2021-08-23
得票数 0
2
回答
Firestore
Streams订阅
flutter
、
google-cloud-firestore
我目前正在设计一个带有
flutter
的
聊天应用程序,我正在
使用
Firestore
来做这个。我想知道这些流是
如何
工作
的
,因为我想知道读取
的
次数,这样我就可以预测限制。假设目前有315条消息,并且所有消息都在聊天屏幕
中
。如果一个人输入了一条新消息,这将是第316条消息,因此
flutter
stream将读取所有316条消息,或者只是获取新添加
的
消息并将其附加到315个成员
的
列表
中
。
浏览 23
提问于2020-06-25
得票数 0
回答已采纳
2
回答
Firestore
云函数找不到要
更新
的
文档
node.js
、
firebase-realtime-database
、
google-cloud-firestore
、
google-cloud-functions
我正在尝试创建一个在线呈现功能,
使用
flutter
更新
每个用户
的
在线
状态
。我通过
使用
实时
数据
库、云函数和云
Firestore
来实现这一点。我
的
问题是,当我运行我
的
云函数来检测实时
数据
库
中
的
变化,并在云
Firestore
中
更新
我
的
用户集合
中
的
状态</e
浏览 6
提问于2020-12-16
得票数 0
1
回答
在iOS上调用getDocuments()时,
Flutter
Cloud
Firestore
失败
dart
、
flutter
、
google-cloud-firestore
我在
flutter
项目中从Cloud
Firestore
获取一些
数据
时遇到了一个问题。/v1/
flutter
/.pub-cache/hosted/pub.dartlang.org/cloud_
firestore
-0.9.6/lib/src/query_snapshot.dart:10:57/framework.dart:3735:15) #7 Element.rebuild (package:<e
浏览 23
提问于2019-03-15
得票数 2
回答已采纳
2
回答
Flutter
:
如何
设置观察者整个应用程序
android
、
firebase
、
flutter
、
google-cloud-firestore
、
google-cloud-functions
所以,我正在尝试创建一个聊天应用程序,并试图获得用户
的
存在,但在阅读了大量
的
web文章后,我仍然不明白
如何
才能让它工作。因此,我正在尝试另一种方法,
如何
创建一个检查整个应用程序
的
观察者?例如,现在我有一个在与人聊天时告诉Firebase
Firestore
的
方法(设置ID,这样Cloud Functions就不会通知新消息),我想用它在用户在线/离线时告诉
Firestore
。我试图创建一个BaseScreen有
状态
with
浏览 15
提问于2019-08-08
得票数 2
1
回答
AndroidX迁移后
的
修复中断
firebase
、
dart
、
flutter
、
google-cloud-firestore
、
androidx
我刚刚迁移到AndroidX并
更新
了我
的
颤振依赖关系。当捕获错误是:我正在
使用
:(firebase_auth: ^0.8.1+1)(fireba
浏览 2
提问于2019-02-18
得票数 4
1
回答
如何
解决cloud_
firestore
依赖关系错误?
firebase
、
flutter
、
dart
、
google-cloud-firestore
、
google-cloud-storage
我已经将cloud_
firestore
的
版本从0.16.0更改为0.15.0,因为它不起作用。但是,它没有解决我
的
问题--现在,当我将版本更改为0.16.0时,它给出了与0.15.0版本相同
的
错误,尽管我将其更改为0.16.0。dependencies: sdk:
flutter
dotted_line: ^2.0.2 cloud_
firesto
浏览 5
提问于2021-01-29
得票数 0
1
回答
我
的
示例应用程序可以添加/查看
数据
,但
数据
在
Firestore
控制台中不可见
flutter
、
google-cloud-firestore
为了理解
Flutter
&
Firestore
,我
使用
了https://heartbeat.fritz.ai/using-firebases-cloud-
firestore
-in-
flutter
-79a79ec5303aPixel 2模拟器
中
的
应用程序工作正常,即添加和显示任务。我创建了一个链接到
Firestore
数据
库,但添加
的
任务不会显示在
Firestore
浏览 8
提问于2019-04-28
得票数 0
2
回答
颤振/云-防火墙“任务已经完成”异常
android
、
firebase
、
dart
、
google-cloud-firestore
、
flutter
我正在用
Flutter
编写一个应用程序,我必须
使用
Firestore
.instance.runTransaction(Transaction tx)方法进行事务处理。在事务对象(或方法)
中
,我必须
使用
文档引用
更新
一些
数据
。/cloud_
firestore
(32612):未能处理方法调用结果E/MethodChannel#plugins.
flutter
.io/cloud_
firestore
浏览 0
提问于2018-08-13
得票数 9
回答已采纳
3
回答
MissingPluginException (MissingPluginException(没有在通道插件上找到方法Firebase#initializeCore
的
实现)
android
、
flutter
、
visual-studio-code
、
plugins
import 'package:cloud_
firestore
/cloud_
firestore
.dart';import 'package:
flutter
/material.dart';importMis
浏览 10
提问于2022-06-30
得票数 0
回答已采纳
1
回答
Firestore
Flag
中
的
颤动导航
flutter
、
dart
、
google-cloud-firestore
、
flutter-navigation
我想做什么
的
图表]如图所示,我有一个屏幕1,它工作得很好但在控制台上出现以下错误 错误:
flutter
/lib/ui/ui_dart_state.cc(157)未处理
的
异常: setState()回调参数返回了一个未来。E/
flutter
(24551):
使用
闭包或返回Future<
浏览 1
提问于2020-04-21
得票数 0
点击加载更多
热门
标签
更多标签
云服务器
对象存储
ICP备案
云点播
腾讯会议
活动推荐
运营活动
广告
关闭
领券