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

getEmail getting emails only for com.google #1

Closed
koraybalci opened this issue Oct 13, 2014 · 2 comments
Closed

getEmail getting emails only for com.google #1

koraybalci opened this issue Oct 13, 2014 · 2 comments

Comments

@koraybalci
Copy link

Your js for getEmail calls getEmails, which hardcodes type to com.google. What is the significance of 'com.google' type?

And, your documentation on getEmail method is misleading in this respect, I think you should add (accounts with 'com.google' type) note for this function as well.

@loicknuchel
Copy link
Owner

I didn't write a lot of doc :(
I should write some...

The 'com.google' accounts are the google accounts registered in your Android device (the better choice to get user email).
getEmails and getEmail are just helper methods to simplify email retrieval (they call getByType).
Of course, this is heavily specialized on Android...

@koraybalci
Copy link
Author

Thank you.

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

2 participants