Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the google account signin details like email id, uuid and other fields from requestPermission invoke function? #4

Open
ramsmart-inno opened this issue Mar 20, 2021 · 6 comments

Comments

@ramsmart-inno
Copy link

ramsmart-inno commented Mar 20, 2021

when I integrate google sign-in with the firebase auth package. it causes an error.

then I remove the above package, it will work smoothly.

is it possible to get an email id, image URL, or UUID from the respective google fit authenticating account?

@dev-juyoung
Copy link
Owner

@ramsmart-inno
it is confirmed that emails, images, etc. can be obtained optionally through a Google Fit verified account.

however, i think this plugin is against the ultimate goal of solving it.

can you attach a code or error log so we can figure out the cause?
and please tell us about the environment of flutter that you are currently using.

based on your answers, let's find a solution to solve the problem.

@ramsmart-inno
Copy link
Author

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

I got the above exception while using google_sign_in with the fitness package.
Due to SHA1 is configured in OAuth Consent and firebase as well. I think so.

@dev-juyoung
Copy link
Owner

Is this an error in the Fitness package?
This error appears to be an error that occurs in google_sign_in package.

Let's try to find out if there is a solution to fix the error by configuring the environment as much as possible.

@ramsmart-inno
Copy link
Author

I did all the check environment level and app-level as well. But it would look like the same. I didn't make any changes to the SDK level.

@dev-juyoung
Copy link
Owner

@ramsmart-inno
is this still happening?

@Moammar1498
Copy link

I ran into same error due to google sign in package. My project is registered with firebase without sha but I am integrating google sign in without firebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants