sbis04 / flutterfire-samples

Firebase + Flutter sample apps with code snippets, supported by comprehensive articles for each implementation.
MIT License
221 stars 130 forks source link

Unhandled Exception: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null) #23

Open roboticafacil opened 1 year ago

roboticafacil commented 1 year ago

I have implemented the code suggested in this tutorial and I get an unhandled exception error (see below):

https://medium.com/flutter-community/flutter-implementing-google-sign-in-71888bca24ed

Maybe there's something I am missing. Great job, anyway...

Launching lib\main.dart on sdk gphone x86 in debug mode... main.dart:1 Formato de par�metros incorrecto: √ Built build\app\outputs\flutter-apk\app-debug.apk. Connecting to VM Service at ws://127.0.0.1:63077/pyQ0NoAYtOI=/ws I/icafacil.eCrom(10799): Waiting for a blocking GC ProfileSaver E/flutter (10799): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null) E/flutter (10799): #0 StandardMethodCodec.decodeEnvelope message_codecs.dart:653 E/flutter (10799): #1 MethodChannel._invokeMethod platform_channel.dart:315 E/flutter (10799): E/flutter (10799): #2 MethodChannel.invokeMapMethod platform_channel.dart:518 E/flutter (10799): E/flutter (10799): #3 GoogleSignIn._callMethod google_sign_in.dart:274 E/flutter (10799): E/flutter (10799): #4 GoogleSignIn.signIn.isCanceled google_sign_in.dart:408 E/flutter (10799): E/flutter (10799):