Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does 'ApiExpception: 7' mean when using Google sign-in through Firebase?

Tags:

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?

like image 973
STeamup Avatar asked Apr 09 '19 00:04

STeamup


People also ask

How do I sign into Google with Firebase?

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.

Do I need Firebase for Google sign-in?

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.

What is authorization code in 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.


1 Answers

This error occurs when you are not connect to the internet. Check your connection and try again.

like image 156
curiousgeek Avatar answered Sep 30 '22 19:09

curiousgeek