UMME S

Results 11 comments of UMME S

You're getting empty dataset because you have not performed any activity. Start an walking activity and walk around with your device for 3-5 mins.

After that try to check the data on the Android studio as well as on the console

You're using java or kotlin? I can share a sample code. You can log the response

Ok I will check the api and share

Method: POST URL: https://www.googleapis.com/fitness/v1/users/me/dataSources Method : POST URL: https://www.googleapis.com/fitness/v1/users/me/dataset:aggregate

I hope for the console also you're using same account to view the data and to perform activity.

can you share the response of both the API I have mentioned above with their method as post.

Okay. Where you said you're using google fit api on mobile or web site?

Ohh okay. May be I know why are you getting the response as null. You have to request OAuth 2.0 client id. Register you're project details with SHA key and...