草庐IT

firebase-auth

全部标签

google-api - 错误 : Not found: 'dart:html' when using googleapis_auth dart team package with flutter

使用时googleapis_auth|DartPackagegoogleapis|DartPackage使用此代码通过Flutter访问GoogleApiimport'dart:convert';import'dart:io';import'package:googleapis_auth/auth.dart';import'package:googleapis_auth/auth_browser.dart';import'package:googleapis_auth/auth_io.dart';import'package:googleapis/androidpublisher/v3

google-api - 错误 : Not found: 'dart:html' when using googleapis_auth dart team package with flutter

使用时googleapis_auth|DartPackagegoogleapis|DartPackage使用此代码通过Flutter访问GoogleApiimport'dart:convert';import'dart:io';import'package:googleapis_auth/auth.dart';import'package:googleapis_auth/auth_browser.dart';import'package:googleapis_auth/auth_io.dart';import'package:googleapis/androidpublisher/v3

flutter - Firebase 身份验证错误 : Undefined name 'auth'

我想通过使用每个用户的UID来访问我的firestore数据库,如下所示:returnnewStreamBuilder(stream:Firestore.instance.collection('users').document(uid).snapshots(),builder:(context,snapshot){if(!snapshot.hasData){returnnewText("Loading");}varuserDocument=snapshot.data;获取UID:finalFirebaseUseruser=auth.currentUser().then((Fireba

flutter - Firebase 身份验证错误 : Undefined name 'auth'

我想通过使用每个用户的UID来访问我的firestore数据库,如下所示:returnnewStreamBuilder(stream:Firestore.instance.collection('users').document(uid).snapshots(),builder:(context,snapshot){if(!snapshot.hasData){returnnewText("Loading");}varuserDocument=snapshot.data;获取UID:finalFirebaseUseruser=auth.currentUser().then((Fireba

firebase - Flutter Firebase 项目在 'pod update' 后无法编译

在我的flutter项目中运行podupdate后,我的项目无法为iO编译。那是我已经尝试过的。删除Pod文件夹。删除Pod文件运行Podinit来创建一个新的Podfile将代码粘贴到新的Podfile并再次运行Podistall。$flutter医生-v[✓]Flutter(Channeldev,v1.2.1,onMacOSX10.14.318D109,localede-DE)•Flutterversion1.2.1at/Users/mainuser/Development/flutter•Frameworkrevision8661d8aecd(3daysago),2019-02-

firebase - Flutter Firebase 项目在 'pod update' 后无法编译

在我的flutter项目中运行podupdate后,我的项目无法为iO编译。那是我已经尝试过的。删除Pod文件夹。删除Pod文件运行Podinit来创建一个新的Podfile将代码粘贴到新的Podfile并再次运行Podistall。$flutter医生-v[✓]Flutter(Channeldev,v1.2.1,onMacOSX10.14.318D109,localede-DE)•Flutterversion1.2.1at/Users/mainuser/Development/flutter•Frameworkrevision8661d8aecd(3daysago),2019-02-

firebase - 将来自 Firebase 的 StartAt 与 Flutter 时间戳一起使用

我正在使用时间戳属性在Firestore上保存一些帖子,然后我查询按时间戳排序的帖子。我正在尝试创建一个“loadMore”函数,然后在用户滚动到底部并加载更多帖子时起作用。我以这种方式保存帖子:Firestore.instance.collection('posts').add({'content':'content,'likes':0,'comments':0,'timestamp':DateTime.now(),})并尝试以这种方式查询:Firestore.instance.collection('posts').orderBy('timestamp',descending:tr

firebase - 将来自 Firebase 的 StartAt 与 Flutter 时间戳一起使用

我正在使用时间戳属性在Firestore上保存一些帖子,然后我查询按时间戳排序的帖子。我正在尝试创建一个“loadMore”函数,然后在用户滚动到底部并加载更多帖子时起作用。我以这种方式保存帖子:Firestore.instance.collection('posts').add({'content':'content,'likes':0,'comments':0,'timestamp':DateTime.now(),})并尝试以这种方式查询:Firestore.instance.collection('posts').orderBy('timestamp',descending:tr

firebase - Flutter 将两个 firestore 流合并为一个流

我只是想执行“或”运算,并将两个查询的两个结果放入一个流中。这是我的单流代码StreamBuilder(stream:Firestore.instance.collection('list').where('id',isEqualTo:'false').orderBy('timestamp').snapshots(),builder:(context,snapshot){if(!snapshot.hasData)returnColumn(mainAxisAlignment:MainAxisAlignment.center,children:[Center(child:CircularP

firebase - Flutter 将两个 firestore 流合并为一个流

我只是想执行“或”运算,并将两个查询的两个结果放入一个流中。这是我的单流代码StreamBuilder(stream:Firestore.instance.collection('list').where('id',isEqualTo:'false').orderBy('timestamp').snapshots(),builder:(context,snapshot){if(!snapshot.hasData)returnColumn(mainAxisAlignment:MainAxisAlignment.center,children:[Center(child:CircularP