草庐IT

googleapis_auth

全部标签

FirebaseAuth : getGoogleApiForMethod() returned Gms: com. google.firebase.auth.api.internal.zzal@489

当我尝试通过电话进行身份验证时,出现以下错误。W/BiChannelGoogleApi(12340):[FirebaseAuth:]getGoogleApiForMethod()returnedGms:com.google.firebase.auth.api.internal.zzal@489我在Stackverflow和其他地方检查过相同的错误,但没有在任何地方找到正确的解决方案。pubspec.yml中的变化dependencies:flutter:sdk:flutter#ThefollowingaddstheCupertinoIconsfonttoyourapplication.

FirebaseAuth : getGoogleApiForMethod() returned Gms: com. google.firebase.auth.api.internal.zzal@489

当我尝试通过电话进行身份验证时,出现以下错误。W/BiChannelGoogleApi(12340):[FirebaseAuth:]getGoogleApiForMethod()returnedGms:com.google.firebase.auth.api.internal.zzal@489我在Stackverflow和其他地方检查过相同的错误,但没有在任何地方找到正确的解决方案。pubspec.yml中的变化dependencies:flutter:sdk:flutter#ThefollowingaddstheCupertinoIconsfonttoyourapplication.

flutter - _断言错误 ('package:firebase_auth/src/firebase_auth.dart' : Failed assertion: line 95 pos 12: 'email != null' : is not true. )

我的目标是使用Firebase在Flutter中构建注册。但是,当我按下包含注册功能的按钮时,应用程序停止并且我收到此错误:异常发生。_AssertionError('package:firebase_auth/src/firebase_auth.dart':断言失败:第95行pos12:'电子邮件!=null':不正确。)与firebase的集成正在运行,问题可能出在没有获取数据的textformfield上......import'package:cloud_firestore/cloud_firestore.dart';import'package:firebase_auth/f

flutter - _断言错误 ('package:firebase_auth/src/firebase_auth.dart' : Failed assertion: line 95 pos 12: 'email != null' : is not true. )

我的目标是使用Firebase在Flutter中构建注册。但是,当我按下包含注册功能的按钮时,应用程序停止并且我收到此错误:异常发生。_AssertionError('package:firebase_auth/src/firebase_auth.dart':断言失败:第95行pos12:'电子邮件!=null':不正确。)与firebase的集成正在运行,问题可能出在没有获取数据的textformfield上......import'package:cloud_firestore/cloud_firestore.dart';import'package:firebase_auth/f

facebook - flutter_auth 要求 facebook 登录的访问 token 是什么?

我正在努力_auth.signInWithFacebook(accessToken:null);没有关于什么是accessToken的文档。我从哪里得到这个? 最佳答案 您需要从facebook本身获取accessToken。有一个包裹flutter_facebook_login与facebook接口(interface)以获取accessTokenvarfacebookLogin=newFacebookLogin();varresult=awaitfacebookLogin.logInWithReadPermissions(['e

facebook - flutter_auth 要求 facebook 登录的访问 token 是什么?

我正在努力_auth.signInWithFacebook(accessToken:null);没有关于什么是accessToken的文档。我从哪里得到这个? 最佳答案 您需要从facebook本身获取accessToken。有一个包裹flutter_facebook_login与facebook接口(interface)以获取accessTokenvarfacebookLogin=newFacebookLogin();varresult=awaitfacebookLogin.logInWithReadPermissions(['e

firebase - 在 Flutter App 中查找邮箱和用户名是否已经存在于 Firebase Auth 中

我在我的Flutter应用程序中使用电子邮件注册,并为此使用Firebase身份验证。如何在注册页面上显示输入的电子邮件和用户名是否已存在于数据库中? 最佳答案 firebase会将该信息作为错误消息返回:FirebaseAuth.instance.createUserWithEmailAndPassword(email:_email,password:_password).then((user){//dowhateveryouwanttodowithnewuserobject}).catchError((e){print(e.de

firebase - 在 Flutter App 中查找邮箱和用户名是否已经存在于 Firebase Auth 中

我在我的Flutter应用程序中使用电子邮件注册,并为此使用Firebase身份验证。如何在注册页面上显示输入的电子邮件和用户名是否已存在于数据库中? 最佳答案 firebase会将该信息作为错误消息返回:FirebaseAuth.instance.createUserWithEmailAndPassword(email:_email,password:_password).then((user){//dowhateveryouwanttodowithnewuserobject}).catchError((e){print(e.de

authentication - 即使有测试号码,Flutter firebase auth 电话认证也会失败

我正在使用firebase_auth包在我的flutter应用中启用电话身份验证。我按照firebase-flutter教程设置了firebase项目和一个支持android的应用程序。然后我按照firebase_auth示例代码创建了我的登录页面,但是我收到了示例中提供的示例编号/代码的以下错误PlatformException(error,CannotcreatePhoneAuthCredentialwithouteitherverificationProof,sessionInfo,ortempraryproof.,null)当我尝试verifyPhoneNumber时,下面的文

authentication - 即使有测试号码,Flutter firebase auth 电话认证也会失败

我正在使用firebase_auth包在我的flutter应用中启用电话身份验证。我按照firebase-flutter教程设置了firebase项目和一个支持android的应用程序。然后我按照firebase_auth示例代码创建了我的登录页面,但是我收到了示例中提供的示例编号/代码的以下错误PlatformException(error,CannotcreatePhoneAuthCredentialwithouteitherverificationProof,sessionInfo,ortempraryproof.,null)当我尝试verifyPhoneNumber时,下面的文