-
Notifications
You must be signed in to change notification settings - Fork 259
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
Comments
I have the same problem on android, ios is work. |
Did you get it to work? I am having same issue too. |
SOLVED!!! Add "GoogleSignIn.Configuration.RequestEmail = true;" in OnSignIn method of SignInSampleScript. @qwasmi1994 @kyousuke916 |
@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. |
@jeeteshb Hai, take a look at my code https://pastebin.com/Hh44p8am |
@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. |
@jeeteshb Hai which method are you calling when you hit sign in button? |
@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. |
@jeeteshb Anytime brother.! |
I combine this project with firebase but can not get email and the solution is here. thank you @vinodCoder |
Thank you so much!!! |
AddStatusText("Email: " + task.Result.Email+ "!");
The text was updated successfully, but these errors were encountered: