简体   繁体   English

Flutter和Firebase Google登录

[英]Flutter and Firebase Google SignIn

I'm trying to make an app with Firebase/Google SignIn to manage Drive Files. 我正在尝试使用Firebase / Google登录创建一个应用程序来管理驱动器文件。 To do this, I'm using the plugin google_sign_in: "^ 3.2.1" of the flutter. 为此,我使用了flutter的插件google_sign_in: "^ 3.2.1" My app show's user account select - by Google's, but nothing happen when I tap on account... Debugging the method of googlesignin I've found a message "the user had canceled the process" or similar. 我的应用程序展示的用户帐户选择-由Google选择,但是当我点击帐户时没有任何反应...调试googlesignin的方法我发现一条消息“用户已取消该过程”或类似的消息。

I tried this step-by-step - https://pub.dartlang.org/packages/google_sign_in 我逐步尝试了这一步骤-https: //pub.dartlang.org/packages/google_sign_in

I'm using: 我正在使用:

  • Physical Test Device Flutter (Channel beta, v0.9.4, on Linux, locale pt_BR.UTF-8) 物理测试设备抖动(Linux上的Channel beta,v0.9.4,语言环境pt_BR.UTF-8)

  • develop for Android devices (Android SDK 28.0.3) 为Android设备开发(Android SDK 28.0.3)

  • Android Studio (version 3.2) Android Studio(3.2版)

发生问题是因为我在Firebase控制台配置上使用了发布密钥而不是调试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM