android / fit-samples

Multiple samples showing the best practices using the Fit APIs on Android.
Apache License 2.0
152 stars 114 forks source link

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

Open panjiyudasetya opened 5 years ago

panjiyudasetya commented 5 years ago

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 account@biz-corporate.com.

Steps to reproduce

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 commented 5 years ago

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 commented 5 years ago

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. 😞