腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
Flutter
Firebase
:
我
想
使用
stream
provider
在
应用程序
中
流式
传输
登录
用户
的
详细信息
flutter
、
dart
、
firebase-authentication
、
flutter-provider
、
flutter-streambuilder
AuthUser.fromFirebaseUser(user: firebaseUser) : null,} 以下是模型类
的
代码: import 'package:
firebase
_auth/
firebase
_auth.dart'; String?uid; userName = user.displayName;}
我
还想知道如何
使用
StreamPro
浏览 12
提问于2021-08-13
得票数 1
回答已采纳
2
回答
Flutter
Firebase
跨
应用程序
的
用户
身份验证管理
flutter
、
firebase-authentication
我
已经成功地实现了
用户
身份验证,一切都运行得很好,
我
只想以一种有效
的
方式管理currentUser。是一个Future<FirebaseUser>,
我
想
立即得到,
我
无法弄清楚如何管理它,
我</
浏览 1
提问于2019-06-07
得票数 4
1
回答
当
用户
注销时,FirebaseAuth.instance.onAuthStateChanged不会触发流生成器。
flutter
、
firebase-authentication
我
的
“颤栗”
应用程序
几乎没有设置、添加产品、细节页面等屏幕。
我
在
主页面的流生成器中
使用
FirebaseAuth.instance.onAuthStateChanged来决定根据onAuthStateChanged更改显示
登录
或HomePage,如果
用户
正在设置页面并单击注销(即"FirebaseAuth.instance.signOut();“),
应用程序
将停留在相同
的
设置页面上,并且不会像我们
在<
浏览 3
提问于2020-07-02
得票数 6
3
回答
在
颤振
中
与authStateChanges搏斗
firebase
、
flutter
、
dart
、
firebase-authentication
每当
用户
关闭
应用程序
时,他们就必须重新
登录
。
我
查看并尝试实现authStateChanges。但我
的
应用程序
仍在迫
使用户
在
关闭
应用程序
后重新
登录
。
在
App
中
,您可以看到我试图精确地执行authStateChange,但不幸
的
是,似乎什么都没有发生。Future<void> main() async { WidgetsFlutterBinding.e
浏览 2
提问于2020-10-25
得票数 16
回答已采纳
1
回答
Flutter
:当页面通过导航加载时,Observable.combineLatest2不是流
dart
、
flutter
、
rxdart
我
正在创建一个带有区块
的
颤动
应用程序
。
我
遵循了中提供
的
代码class App extends StatelessWidget { home: Scaffold( ), ); } 但当我将我
的</e
浏览 4
提问于2018-12-06
得票数 2
1
回答
如何在
登录
app后获取
用户
Stream
<QuerySnapshot>?
firebase
、
flutter
、
firebase-realtime-database
、
dart
、
firebase-authentication
我
对
firebase
和
flutter
有意见。
我
正在建立
的
应用程序
登录
并显示从收集
的
费用列表,其名称是
用户
id。当
用户
登录
时,他将看到包含其集合
中
的
项目的列表。
我
使用
的
是
Stream
方法。问题是,在
用户
登录
之前,
stream
接收到null i
浏览 14
提问于2019-12-27
得票数 0
1
回答
谷歌Auth自动
登录
firebase
、
flutter
、
dart
、
firebase-authentication
我
已经实现了谷歌
登录
到我
的
移动
应用程序
,然而,它问我一次
我
的
电子邮件和密码。当我再次运行
应用程序
时,它跳过
登录
屏幕并自动导航到主屏幕。import 'pa
浏览 2
提问于2021-03-16
得票数 0
回答已采纳
1
回答
Firebase
注销
在
颤动
应用程序
中
不起作用
firebase
、
flutter
、
dart
、
firebase-authentication
、
google-signin
我
正在基于提供者id
在
flutter
应用程序
中
实现
firebase
注销,这现在根本不起作用。
我
正在执行下面的代码。user.providerData[0].providerId; print('google
provider
sign out done successfully');
浏览 7
提问于2020-12-29
得票数 0
回答已采纳
4
回答
使用
onAuthStateChanged
使用
Flutter
进行
Firebase
登录
firebase
、
dart
、
firebase-authentication
、
google-signin
、
flutter
在
Flutter
之外,当我实现
firebase
身份验证时,
我
总是
使用
firebase
提供
的
onAuthStateChanged侦听器来确定
用户
是否
登录
并做出相应
的
响应。
我
使用
的
是
firebase
_auth和google_signin
Flutter
插件。
我
正在工作
的
示例代码,包括
在</
浏览 58
提问于2017-07-27
得票数 44
1
回答
Flutter
用户
注册存储数据
firebase
、
flutter
、
google-cloud-firestore
我
是新来
的
flutter
。
我
需要一些帮助注册
我
的
应用程序
的
用户
。
我
使用
Firebase
身份验证只是为了获取电子邮件,
我
需要将
用户
的
详细信息
保存在数据库
中
。
我
正在尝试云firestore,但我觉得这不是最理想
的
选择。
在
登录
时
浏览 0
提问于2018-11-01
得票数 1
4
回答
将Google身份验证添加到
Firebase
实时数据库
javascript
、
firebase
、
vue.js
、
firebase-realtime-database
、
firebase-authentication
我
正在
使用
Firebase
实时数据库,
我
需要向它添加
用户
身份验证。
用户
只能以Google作为提供商
登录
。}// These rules grant access to a node matching the authenticated ".read": "$uid =
浏览 0
提问于2018-12-03
得票数 9
2
回答
Flutter
Firebase
检查
用户
是否匿名
登录
firebase
、
flutter
、
authentication
我
给
用户
的
选择,通过电子邮件和密码或匿名
登录
。
使用
电子邮件和密码创建和
登录
用户
很好,但我在为匿名
登录
用户
显示不同内容时遇到了问题。() { _auth.signInAnonymously(); } 如果
用户
选择
在
Auth表单
中
匿名进入
应用程序
Futu
浏览 69
提问于2020-11-11
得票数 1
1
回答
使用
提供程序时FirebaseAuth
中
的
错误
firebase
、
flutter
、
firebase-authentication
、
provider
我
想用
firebase
_auth创建一个输入页面。
我
可以成功地
登录
,但我不能
登录
。当我尝试
登录
时,
应用程序
不会出现任何错误,但它不会传递主页。不过,它仍在
登录
页面
中
。你能看到我
的
密码并帮我吗?这是
我
的
服务代码imp
浏览 15
提问于2022-04-11
得票数 1
回答已采纳
2
回答
有没有办法
在
不注销
用户
的
情况下,一键弹出
flutter
应用
中
的
所有屏幕?
android
、
firebase
、
flutter
、
dart
、
flutter-provider
我
希望
用户
能够通过单击phone back按钮退出
应用程序
(然后他会收到一条警告消息)。 但我找到
的
只是调用exit(0)
的
选项,但这是注销
用户
。
我
使用
的
是
firebase
&
flutter
。此外,当我
在
home_page (
登录
后出现)
中
按下back按钮时,我会再次获得
登录
视图,而不是退出
应用程序
浏览 13
提问于2021-09-12
得票数 1
3
回答
Flutter
:尽管
用户
已经
登录
,但每次
我
重启
应用程序
时,
登录
页面
在
转到主屏幕之前都会短暂出现?
firebase
、
flutter
、
authentication
、
render
Flutter
&
Firebase
:为什么每次
我
重启
应用程序
时,即
使用户
已经
登录
,
登录
页面
在
转到主屏幕之前总是短暂地出现?
我
知道
我
的
应用程序
有时需要从
firebase
渲染
用户
。但是
用户
已经
登录
了。那么,由于
用户
已经
登录
,
我
如何立即继续显示主屏幕
浏览 52
提问于2020-10-14
得票数 1
回答已采纳
1
回答
如何在
Firebase
google
登录
后
使用
provider
处理导航?
flutter
、
dart
我
正在创建一个简单
的
应用程序
,其中
用户
可以
使用
firebase
google_sigin进行身份验证。
我
已经创建了AuthChecker小部件,它检查身份验证和返回
登录
页面,在那里
用户
可以
登录
到谷歌。当
登录
完成后,
我
想
返回AuthChecker并显示主页。下面的代码是
我
的
实现,它给出了上下文错误
在
main.d
浏览 18
提问于2019-09-03
得票数 0
回答已采纳
1
回答
使用
Firebase
身份验证服务时,如何在Facebook/Google
登录
时
在
没有现有帐户
的
情况下引发错误
firebase
、
firebase-authentication
、
flutter
我
正在用
Flutter
开发一个
Firebase
Authentication service
应用程序
。
在
Firebase
_auth插件
中
,电子邮件和密码场景有两种不同
的
方法:createUserWithEmailAndPassword和signInWithEmailAndPassword。(没有单独
的
sign up和sign in流程)
用户
首次
登录
后,将创建一个新
浏览 0
提问于2018-05-14
得票数 2
回答已采纳
1
回答
如何在
使用
firebase
的
web
应用程序
中
获取Google身份验证后
的
用户
详细信息
?
javascript
、
firebase
、
firebase-authentication
我
有一个web
应用程序
,允许
用户
使用
他们
的
gmail account.Once
登录
,
我
可以
使用
result.user对象查看它
的
详细信息
,如下所示-
firebase
.auth().sig
浏览 1
提问于2017-08-27
得票数 0
1
回答
当我
使用
重新加载功能时,
Firebase
Auth是否会注销
我
?
flutter
、
firebase-authentication
、
google-cloud-functions
我
使用
了防火墙电话auth,经过验证,
我
想
更新
登录
的
用户
配置文件。因此,
我
编写了一个云函数,然后
在
函数返回响应后调用user.reload()方法。但令我惊讶
的
是,
我
的
应用程序
在
我
的
控制台上被注销了: 错误:
flutter
/lib/ui/ui_dart_state
浏览 4
提问于2020-11-02
得票数 0
2
回答
从Firestore返回空
用户
数据。如何在全球引用它呢?
firebase
、
flutter
、
dart
、
google-cloud-firestore
、
firebase-authentication
我
是
Flutter
的
新手,
我
一直
在
努力访问Firestore上
的
用户
文档。
在
个人资料页面上,
我
在
initState
中
设置了当前
用户
的
UID,但是uid会在短时间内返回null,然后页面会用正确
的
信息进行更新。super.initState(); FirebaseAuth.instance.currentUser().then(setUse
浏览 15
提问于2019-09-17
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
如何利用BLoC在Flutter和AngularDart中共享代码?
开发企业级移动APP,Flutter准备好了吗?
Google发布Flutter Release Preview 1
App后端服务,你是选择AWS还是Firebase?
5种好用的流计算系统
热门
标签
更多标签
云服务器
ICP备案
实时音视频
对象存储
即时通信 IM
活动推荐
运营活动
广告
关闭
领券