Skip to content

[📚] Firebase auth, Google Sign in and Dart initialization. GoogleService-Info.plist needed? #7753

@hazzo

Description

@hazzo

I was trying to use firebase_auth and google_sign_in with a firebase app initialised in Dart, but when I try to sign in with google I get the following error:

[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: PlatformException(missing-config, GoogleService-Info.plist file not found, null, null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167:18)
<asynchronous suspension>
#2      GoogleSignIn._callMethod (package:google_sign_in/google_sign_in.dart:242:5)
<asynchronous suspension>
#3      GoogleSignIn.signIn.isCanceled (package:google_sign_in/google_sign_in.dart)
<asynchronous suspension>

Really I have to put GoogleService-Info.plist into my project, even If I'm using Dart initialisation? If so, whats the whole purpose of dart initialisation if some plugins still requiere to have the GoogleServices file? Shouldn't this be stated in the documentation?

I was really exited about Dart initialisation but since I tried it I encountered no other thing than problems. It was supposed to ease firebase configuration not make it more difficult.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions