Questions tagged [google-fit-api]

The Google Fit REST API enables you to store and access user data in the fitness store from apps on any platform.

The Google Fit REST API provides resources and methods to:

  • Create, obtain, list, and modify data sources. A data source represents a unique source of sensor data. All fitness data in the fitness store is associated with a particular data source.

  • Create, obtain, aggregate, and delete datasets. A dataset represents a set of data points from a particular data source.

  • List data points and add them to a dataset. A data point represents a sample from a particular data source.

  • Create, list, and delete sessions. A session represents a time interval with associated metadata.

116 questions
1
vote
0 answers

Google fit not syncing properly to android app

The problem is it is getting steps from google fit api but i have to kill my app and restart my app and then it syncs to google fit .What i want is to keep fetching steps from google fit api without killing the app.Please can you tell me the exact…
1
vote
0 answers

Expo - React Native: How to read User data from Google Fit API

thanks in advance for any assistance that can be provided. My goal is to use OAuth2 to get users’ step data from the Google Fit API. I am able to authenticate using Expo's expo-app-auth package, and receive an accessToken, but, when I try to read…
1
vote
0 answers

Google Fit API unavailable?

I've created a project in Google Developer Console to access Google Fit API but when I wanted to add scope in the OAuth consent screen, no scopes from the Fitness API are available even though the API has been enabled. Fitness API overview OAuth…
Kemal
  • 11
  • 2
1
vote
0 answers

Why google account permission dialogue for fitness Api not showing in api greter than 26 android studio

This is my code please check it and give me solution. i have use also this both dependancy. i have use fitnessoption to get permission from user. after getting permission i also subscibe the user and then i readd daily step data from google fitness…
1
vote
0 answers

Priority or Disable Sources?

I have a user where if I upload data to their account, I get a successful message back from Google Fit, but I cannot that data back from the aggregated feeds nor does the user see the data in the Google Fit app. For example, the upload…
1
vote
0 answers

Google Fit REST API move minutes

I am trying to access google fit API to return my move minutes. I have tried aggregate and merged data sources It also does not seem to work for the steps count, too { "dataStreamId":…
0
votes
0 answers

How to get all trainings from Google Fit using REST API?

I wanted to get automatically tracked trainings (eg you don't open Google Fit on your phone but you went for a walk and it's visible in your journal as "morning walk") trough Google Fit REST API. I used…
0
votes
0 answers

Google fit api returning empty bucket while fetching last week data

I am trying to fetch step count data of last week or last 7 days. I am getting the empty list of bucket which holds the data. //Check how many steps were walked and recorded in the last 7 days DataReadRequest readRequest = new…
0
votes
1 answer

Google Fit API returns no distance for biking activity

Version: implementation "com.google.android.gms:play-services-fitness:21.1.0" Client definition: GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestEmail() …
nKognito
  • 6,297
  • 17
  • 77
  • 138
0
votes
1 answer

Google Fit Api: Move Minutes Count

I am working with google api to export my Google Fit data to a Google Sheet. I have managed to get the Step count, calories, distance and heart points data exported correctly. However, I am not able to generate the Move Minutes count and the Walking…
0
votes
0 answers

How to access Google fitness data in Managed Workflow (Expo Go)?

i am currently working on a fitness app for a project on Expo Go , one of its features include Steps count too and i chose google data for the step counts . i managed to implement the sign in with google functionality , it returns the user info and…
0
votes
1 answer

Google Fit does not show the data sent by our app through the Android SDK

When try send data to Google Fit trougth SDK Android (not API), The data not appear inmediatly in Google Fit, they are steps that I do: I getting data from our API (this sessions are gets from our devices and our build data's structure from ours…
0
votes
0 answers

How do I retrieve distance data from Google Fit API using Sessions and subscribing to DataTypes using RecordClient?

I am using Google Fit API for a class project and I have never used this API before. I am using Android Studio to create an app where it can start walking sessions and record the distance that the user traveled during the session. Using the Google…
Tay M
  • 1
0
votes
0 answers

Google Fit throws application needs OAuth consent from the user exception

When trying to access user heart rate from my android application(kotlin) using google fit API I get the below error com.google.android.gms.common.api.ApiException: 5000: Application needs OAuth consent from the user I have added scope in…
0
votes
0 answers

Google Fit API does not return steps ReactJS

Trying to create a step tracking application, using ReactJS, where users can log in and compete one ageist the other, collect points, level up etc. Main information about steps should be taken from Google Fit API. The problem is that for some reason…