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

Does Google Fit API only works with gmail account? #35

Open
panjiyudasetya opened this issue Oct 14, 2019 · 2 comments
Open

Does Google Fit API only works with gmail account? #35

panjiyudasetya opened this issue Oct 14, 2019 · 2 comments

Comments

@panjiyudasetya
Copy link

panjiyudasetya commented Oct 14, 2019

What happened

I'm trying to use Fitness API services on my app and it was running well so far. I can obtain any data that I need from Fit App until it wont work anymore when I'm using corporate account outside gmail on the authorisation pop up, for example [email protected].

Steps to reproduce

  • Add another account in your device (outside gmail, eg: your email account for work)
  • Open your app, ask for fitness permission (two account will appear eg: [email protected] and [email protected] through permission dialog)
  • When you authorise fit permission for [email protected] account, fitness data should be retrieve-able.
  • When you authorise fit permission for [email protected] account, fitness data is not retrieve-able. For example, if you get step count it always return 0 value.

Main concern

So what I want to know is, does Fitness API only works with gmail account? They do not mention anything about that on the authorization pages:

It would be nice if someone can point me out to a relevant article or something similar. Thank you.

@TomTietze
Copy link

Hi,
I had the same problem with the "@googlemail.com" email domain. The only workaround I've found is switching to the "@gmail.com" domain, but that's not really satisfying. I think that's a bug in the Google login API, but I've been waiting for Google for months to fix it, but nothing happens.

@panjiyudasetya
Copy link
Author

Hi @TomTietze.
Thank you for the information, I taught it was only me who had this problem. I hope they will fix this soon too, or at least they put an explicit documentation that tells Fitness API only works with an account with @gmail.com email domain. 😞

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