When trying to use Google sign-in through Firebase Authentication in Flutter, I am getting an error:
flutter com.google.android.gms.common.api.apiexception: 7
I did not find any solution for this problem anywhere. What does this mean?
Enable Google as a sign-in method in the Firebase console: In the Firebase console, open the Auth section. On the Sign in method tab, enable the Google sign-in method and click Save.
To answer your question: no, you do not need firebase to get google login to work for your application. Firebase is a popular no-sql backend for mobile apps that happens to fully integrate google oauth2, but you should be able to to do it without firebase.
Firebase Authentication provides backend services, easy-to-use SDKs, and ready-made UI libraries to authenticate users to your app. It supports authentication using passwords, phone numbers, popular federated identity providers like Google, Facebook and Twitter, and more.
This error occurs when you are not connect to the internet. Check your connection and try again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With