android / fit-samples

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

Do we need Google Fit App for Google Fit API? #33

Open codingjeremy opened 5 years ago

codingjeremy commented 5 years ago

Issue by hienttVFJ Wednesday Aug 21, 2019 at 08:40 GMT Originally opened as https://github.com/googlesamples/android-fit/issues/53


I made small test app which shows daily steps using Google Fit API. During testing, I was not getting any steps count. But later I realised that my Samsung device doesn't come's with Google Fit app so I downloaded it and after feeding some data then I tested my app again and Now I can see my steps count on my test app.

So Does this means that in order to use Google Fit API all my app users must have installed Google Fit App?

mlazari commented 5 years ago

No, you can record the steps without Google Fit app by subscribing to fitness data: https://developers.google.com/fit/android/record

AmanKamani commented 3 years ago

I have the similar question. I am reading sleep data from Google fit. And I have sleep data in google fit. when I read the sleep data without installing Google Fit apk, it gives empty session.

Once I install the Google Fit apk, my application get the sleep session with all data points.

So, is it necessary to install Google Fit apk?

shilangyu commented 1 year ago

That's confusing, the FAQ mentions that there is no need to install the Google Fit app: https://developers.google.com/fit/faq#do_i_need_to_install_the_google_fit_app_to_use_the_apis

So which is it? It is important to be able to communicate to users that this installation is needed.