Skip to content

can't get Email account :( #44

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

Open
qwasmi1994 opened this issue Jun 7, 2018 · 11 comments
Open

can't get Email account :( #44

qwasmi1994 opened this issue Jun 7, 2018 · 11 comments

Comments

@qwasmi1994
Copy link

AddStatusText("Email: " + task.Result.Email+ "!");

@kyousuke916
Copy link

kyousuke916 commented Jun 23, 2018

I have the same problem on android, ios is work.

@vinodCoder
Copy link

vinodCoder commented Jun 26, 2018

Did you get it to work? I am having same issue too.

@vinodCoder
Copy link

SOLVED!!! Add "GoogleSignIn.Configuration.RequestEmail = true;" in OnSignIn method of SignInSampleScript. @qwasmi1994 @kyousuke916

@jeeteshb
Copy link

@vinodCoder Have you added any other information apart from this. For me adding "GoogleSignIn.Configuration.RequestEmail = true;" to the configuration does not work. I was still getting the "Email: " + task.Result.Email as blank.

@vinodCoder
Copy link

@jeeteshb Hai, take a look at my code https://pastebin.com/Hh44p8am

@jeeteshb
Copy link

jeeteshb commented Jul 12, 2018

@vinodCoder Thanks for your reply. I am doing the same thing but still getting task.Result.Email as blank. Please have a look at my code and suggest https://pastebin.com/ArxPg3B3.

@vinodCoder
Copy link

@jeeteshb Hai which method are you calling when you hit sign in button?

@jeeteshb
Copy link

jeeteshb commented Jul 12, 2018

@vinodCoder Sorry my bad! I was working on iOS and android projects. And when I opened Android project in Unity the visual studio still referring to iOS project files. So, I was literally changing the iOS project files and building Android Project.

Its working perfectly fine now thanks for your help Vinod.

@vinodCoder
Copy link

@jeeteshb Anytime brother.!

@amsyary
Copy link

amsyary commented Jul 17, 2018

I combine this project with firebase but can not get email and the solution is here. thank you @vinodCoder

@aidanikuz02
Copy link

Thank you so much!!!

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

6 participants