Flutter ios Google Authentification without firebase error - flutter

I'm trying to set up my app without firebase services, but I've faced the issue with Google Authentification. The error message is following: Runner[9138:3105633] [VERBOSE-2:ui_dart_state.cc(199)] Unhandled Exception: PlatformException(missing-config, GoogleService-Info.plist file not found, null, null)
Is it possible to use Google auth without the firebase?
Thanks!

No! There is no way to use Google auth without the firebase, you must integrated your app with firebase.

Related

Flutter on Windows: Firebase Authentication

I am trying to use Google Sign In authentication method on my flutter Windows app through firebase. The problem is, that I can't find any configuration file about it in firebase console (like on Android: google-services.json, or iOS: google-services.plist). Does anyone know a way to figure this out? To provide authentication into an Flutter Windows app with Google Sign In method?

Flutter Google Sign-In not working platformexception

Google sign-in not working on real device (release mode) but working on emulator. I did all related settings like SHA-1 Keys, support email, enabled google authentications etc.
I am getting a strange error
I/flutter ( 2385): PlatformException(sign_in_failed, g1.b: 10: , null,
null)
Please help me with this. I am stuck with this almost 2 days.
Got it guys. If app is not working in release mode you need to copy the SHA-1 Keys from Play store account to firebase.

I've to use firebase storage but I'm getting App check exception

I'm building a Podcast App in Flutter with Firebase.
Authentication and FireStore Database reading are working correctly, but when I read some files from the firebase storage I get App Check exception: "No App Check token for request.".
I do not register App Check, so is required to do this work? Or is there a way to disable it?

Do I need a Firebase project to use Firebase App Check?

I want to secure my own custom API for my Flutter app.
I came across Firebase App Check, but I do not want to use Firebase.
Can I use Firebase App Check without a Firebase project? It seems to like there is not Firebase involved. Only other app attestation services. https://firebase.google.com/docs/app-check/flutter/custom-resource
Do I need a Firebase project to use Firebase App Check?
Yes.
It seems to like there is not Firebase involved. Only other app attestation services.
Firebase is not an attestation provider but it uses others providers and it's a bit easier to integrate those providers using Firebase SDK than directly using them. e.g reCAPTCHA v3 for web apps.
Once you integrate the Firebase App Check SDK in your Flutter app, you'll have to get the App Check token using getToken() and add it in your API request. Then you just need to verify the token in your backend using the Firebase Admin SDK.

How does an app remain signedIn with Google after terminating and re-opening it

I am using GoogleSignIn plugin for Flutter and able to successfully signin in to Google on my simple flutter app.
Once signed in to Google, I need to keep a track of that in the app (and store tokens in a backend service) and not ask user to login again everytime the application is opened (after terminating/closing the app).
I was planning to store the idToken in the sharedPreferences so that on every invocation of the app I could read the token value and determine if the user had already signedIn in the past.
However, I notice that this is how the app is currently working even without me storing the tokens and adding my custom logic (that is, on re-opening the app, it still stays in signedIn state).
My question is, how is it achieving this behavior with out me writing any code to achieve this?
I have tried to look in to the sharedPreferences but I do not see any tokens or identifiers being stored by the Google_sign_in flutter plugin. How is this happening?
On Android, Flutter's Google Sign-In plugin uses the GoogleSignIn API for Android, which is built into the OS and handles persistence for you.